See #206: added front-end to manage settings

This commit is contained in:
Eliot Berriot 2018-05-17 23:40:41 +02:00
parent e7619fd189
commit 21b4522688
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 293 additions and 3 deletions

View file

@ -13,6 +13,12 @@
<p v-if="!instance.short_description.value && !instance.long_description.value">
{{ $t('Unfortunately, owners of this instance did not yet take the time to complete this page.') }}
</p>
<router-link
class="ui button"
v-if="$store.state.auth.availablePermissions['settings.change']"
:to="{path: '/manage/settings', hash: 'instance'}">
<i class="pencil icon"></i>{{ $t('Edit instance info') }}
</router-link>
<div
v-if="instance.short_description.value"
class="ui middle aligned stackable text container">