mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-17 09:01:06 +02:00
Enhance Administration legend of the Options view
This commit is contained in:
@ -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 />
|
||||
|
@ -26,7 +26,8 @@ return [
|
||||
|
||||
],
|
||||
'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',
|
||||
|
Reference in New Issue
Block a user