Add admin note to permissions

This commit is contained in:
rijkvanzanten
2020-07-31 11:32:09 -04:00
parent 393fc430e9
commit 3aecd5fc85
2 changed files with 11 additions and 1 deletions

View File

@@ -27,6 +27,8 @@
"editing_field": "Editing {field}",
"within_collectoin": "within {collection}",
"admins_have_all_permissions": "Admins have all permissions",
"camera": "Camera",
"exposure": "Exposure",
"shutter": "Shutter",

View File

@@ -53,7 +53,11 @@
<span class="instant-save">{{ $t('saves_automatically') }}</span>
</h2>
<v-notice>
<v-notice v-if="(edits.admin !== undefined ? edits.admin : item.admin) === true">
{{ $t('admins_have_all_permissions') }}
</v-notice>
<v-notice v-else>
Pre-Release: Feature not yet available
</v-notice>
</div>
@@ -186,6 +190,10 @@ export default defineComponent({
padding-bottom: var(--content-padding-bottom);
}
.v-notice {
max-width: 800px;
}
.header-icon {
--v-button-background-color: var(--warning-25);
--v-button-color: var(--warning);