+
+
+
+
+
+ {{ $t('general:label.permissions') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ $t('page-layout.title') }}
{{ $t('page-layout.handle') }}
|
- |
+ |
@@ -259,6 +301,7 @@
@@ -270,6 +313,7 @@
@@ -284,20 +328,35 @@
+
+
|
+
+
+ |
+
+
+ {{ $t('page-layout.add') }}
+
+ |
+
-
- {{ $t('page-layout.add') }}
-
@@ -359,7 +418,7 @@
- {{ $t('page-layout.recordToolbar') }}
+ {{ $t('page-layout.recordToolbar.label') }}
- {{ $t('page-layout.recordToolbar.buttons.showEdit') }}
+ {{ $t('page-layout.recordToolbar.buttons.showSave') }}
@@ -418,20 +477,20 @@
{{ $t('page-layout.recordToolbar.actions.buttonLabel') }}
|
{{ $t('page-layout.recordToolbar.actions.layout.label') }}
|
{{ $t('page-layout.recordToolbar.actions.variant') }}
@@ -528,13 +587,19 @@
+
+ |
+ |
+
+
+ {{ $t('page-layout.recordToolbar.actions.add') }}
+
+ |
+
-
- Add action
-
@@ -899,7 +964,7 @@ export default {
async fetchLayouts () {
const { namespaceID } = this.namespace
- return this.findLayoutsByPageID({ namespaceID, pageID: this.pageID }).then(layouts => {
+ return this.findLayoutsByPageID({ namespaceID, pageID: this.pageID, force: true }).then(layouts => {
this.layouts = layouts
})
},
@@ -1080,3 +1145,11 @@ export default {
outline: 2px solid $success;
}
+
+
diff --git a/client/web/compose/src/views/Public/Pages/Records/View.vue b/client/web/compose/src/views/Public/Pages/Records/View.vue
index d336d8c94..f01390a6f 100644
--- a/client/web/compose/src/views/Public/Pages/Records/View.vue
+++ b/client/web/compose/src/views/Public/Pages/Records/View.vue
@@ -393,7 +393,7 @@ export default {
})
if (!this.layout) {
- this.toastWarning('notification:page.page-layout.notFound.view')
+ this.toastWarning(this.$t('notification:page.page-layout.notFound.view'))
return this.$router.go(-1)
}
diff --git a/client/web/compose/src/views/Public/Pages/View.vue b/client/web/compose/src/views/Public/Pages/View.vue
index 4cab647e9..3911f4f3d 100644
--- a/client/web/compose/src/views/Public/Pages/View.vue
+++ b/client/web/compose/src/views/Public/Pages/View.vue
@@ -48,7 +48,6 @@