Fixed #659: styling inconsistency on about page when instance description was missing
This commit is contained in:
parent
f7986a2341
commit
ef0383a84a
|
@ -0,0 +1 @@
|
|||
Fixed a styling inconsistency on about page when instance description was missing (#659)
|
|
@ -12,15 +12,18 @@
|
|||
</div>
|
||||
</section>
|
||||
<section class="ui vertical stripe segment">
|
||||
<p v-if="!instance.short_description.value && !instance.long_description.value">
|
||||
<translate>Unfortunately, owners of this instance did not yet take the time to complete this page.</translate>
|
||||
</p>
|
||||
<router-link
|
||||
class="ui button"
|
||||
v-if="$store.state.auth.availablePermissions['settings']"
|
||||
:to="{path: '/manage/settings', hash: 'instance'}">
|
||||
<i class="pencil icon"></i><translate>Edit instance info</translate>
|
||||
</router-link>
|
||||
<div
|
||||
class="ui middle aligned stackable text container">
|
||||
<p
|
||||
v-if="!instance.short_description.value && !instance.long_description.value"><translate>Unfortunately, owners of this instance did not yet take the time to complete this page.</translate></p>
|
||||
<router-link
|
||||
class="ui button"
|
||||
v-if="$store.state.auth.availablePermissions['settings']"
|
||||
:to="{path: '/manage/settings', hash: 'instance'}">
|
||||
<i class="pencil icon"></i><translate>Edit instance info</translate>
|
||||
</router-link>
|
||||
<div class="ui hidden divider"></div>
|
||||
</div>
|
||||
<div
|
||||
v-if="instance.short_description.value"
|
||||
class="ui middle aligned stackable text container">
|
||||
|
|
Loading…
Reference in New Issue