mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-31 01:24:42 +02: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-save-mode": "Please select a Save Mode: Local or File",
|
||||||
"error-msg-cannot-save": "An error occurred saving config",
|
"error-msg-cannot-save": "An error occurred saving config",
|
||||||
"error-msg-bad-json": "Error in JSON, possibly malformed",
|
"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": {
|
"app-rebuild": {
|
||||||
"title": "Rebuild Application",
|
"title": "Rebuild Application",
|
||||||
|
@ -43,6 +43,9 @@
|
|||||||
{{saveSuccess
|
{{saveSuccess
|
||||||
? $t('config-editor.status-success-msg') : $t('config-editor.status-fail-msg') }}
|
? $t('config-editor.status-success-msg') : $t('config-editor.status-fail-msg') }}
|
||||||
</p>
|
</p>
|
||||||
|
<p v-if="!allowWriteToDisk" class="no-permission-note">
|
||||||
|
{{ $t('config-editor.not-admin-note') }}
|
||||||
|
</p>
|
||||||
<p class="response-output">{{ responseText }}</p>
|
<p class="response-output">{{ responseText }}</p>
|
||||||
<p v-if="saveSuccess" class="response-output">
|
<p v-if="saveSuccess" class="response-output">
|
||||||
{{ $t('config-editor.success-note-l1') }}
|
{{ $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 {
|
button.save-button {
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
margin: 0.25rem auto;
|
margin: 0.25rem auto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user