Direct people to summits.sota.org.uk to add an article

buefy-0.9
Manuel Kasper 2023-03-25 20:46:32 +01:00
rodzic 3d58d3094b
commit a419ab5dcf
1 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -62,7 +62,7 @@
<SummitAttributes :attributes="summit.attributes" /> <SummitAttributes :attributes="summit.attributes" />
<template v-if="resources.length > 0"> <template v-if="resources.length > 0">
<h6 class="title is-6">Resources</h6> <h6 class="title is-6">Resources<span class="add-article">(<a :href="addArticleLink">+ Article</a>)</span></h6>
<ResourceList :resources="resources" /> <ResourceList :resources="resources" />
</template> </template>
</div> </div>
@ -309,6 +309,9 @@ export default {
} }
}) })
return videos return videos
},
addArticleLink () {
return 'https://summits.sota.org.uk/article/new/' + this.summit.code
} }
}, },
watch: { watch: {
@ -585,4 +588,9 @@ export default {
.uploader-placeholder .fa-images { .uploader-placeholder .fa-images {
margin-right: 0.5em; margin-right: 0.5em;
} }
.add-article {
font-weight: normal;
font-size: 90%;
margin-left: 0.5em;
}
</style> </style>