mirror of
https://github.com/directus/directus.git
synced 2026-01-26 09:28:38 -05:00
Add admin note to permissions
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user