Enhance Administration legend of the Options view

This commit is contained in:
Bubka 2023-11-22 09:35:10 +01:00
parent 3c61edbf67
commit a224436d0c
2 changed files with 6 additions and 2 deletions

View File

@ -171,7 +171,10 @@
<!-- Admin settings -->
<div v-if="user.isAdmin">
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('settings.administration') }}</h4>
<div class="is-size-7-mobile block" v-html="$t('settings.administration_legend')"></div>
<div class="is-size-7-mobile block has-text-grey">
<p class="mb-2">{{ $t('settings.administration_legend') }}</p>
<p>{{ $t('settings.only_an_admin_can_edit_them') }}</p>
</div>
<!-- Check for update -->
<FormCheckbox :model-value="appSettings.checkForUpdate" @update:modelValue="(val) => appSettings.$patch({checkForUpdate: val})" fieldName="checkForUpdate" label="commons.check_for_update" help="commons.check_for_update_help" />
<VersionChecker />

View File

@ -26,7 +26,8 @@
],
'administration' => 'Administration',
'administration_legend' => 'While previous settings are user settings (every user can set its own preferences), following settings are global and apply to all users. Only an administrator can view and edit those settings.',
'administration_legend' => 'While previous settings are user settings (every user can set its own preferences), following settings are global and apply to all users.',
'only_an_admin_can_edit_them' => 'Only an administrator can view and edit them.',
'you_are_administrator' => 'You are an administrator',
'general' => 'General',
'security' => 'Security',