mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-26 12:55:42 +03:00
🌐 Adds text for no permission to edit, in guest mode
This commit is contained in:
parent
9bfd464681
commit
a08eb1082a
@ -116,7 +116,8 @@
|
||||
"error-msg-save-mode": "Please select a Save Mode: Local or File",
|
||||
"error-msg-cannot-save": "An error occurred saving config",
|
||||
"error-msg-bad-json": "Error in JSON, possibly malformed",
|
||||
"warning-msg-validation": "Validation Warning"
|
||||
"warning-msg-validation": "Validation Warning",
|
||||
"not-admin-note": "You cannot write changed to disk, because you are not logged in as an admin"
|
||||
},
|
||||
"app-rebuild": {
|
||||
"title": "Rebuild Application",
|
||||
|
@ -43,6 +43,9 @@
|
||||
{{saveSuccess
|
||||
? $t('config-editor.status-success-msg') : $t('config-editor.status-fail-msg') }}
|
||||
</p>
|
||||
<p v-if="!allowWriteToDisk" class="no-permission-note">
|
||||
{{ $t('config-editor.not-admin-note') }}
|
||||
</p>
|
||||
<p class="response-output">{{ responseText }}</p>
|
||||
<p v-if="saveSuccess" class="response-output">
|
||||
{{ $t('config-editor.success-note-l1') }}
|
||||
@ -243,6 +246,10 @@ p.response-output {
|
||||
}
|
||||
}
|
||||
|
||||
p.no-permission-note {
|
||||
color: var(--config-settings-color);
|
||||
}
|
||||
|
||||
button.save-button {
|
||||
padding: 0.5rem 1rem;
|
||||
margin: 0.25rem auto;
|
||||
|
Loading…
Reference in New Issue
Block a user