From d5f8faac5a19fa4a11a9509e7783e95773a5772b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Mon, 18 Sep 2023 15:21:03 +0200 Subject: [PATCH] Sync page edit icons --- .../compose/src/components/Admin/Page/Tree.vue | 2 +- .../web/compose/src/views/Admin/Pages/Edit.vue | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/client/web/compose/src/components/Admin/Page/Tree.vue b/client/web/compose/src/components/Admin/Page/Tree.vue index 6e429ce72..d43870714 100644 --- a/client/web/compose/src/components/Admin/Page/Tree.vue +++ b/client/web/compose/src/components/Admin/Page/Tree.vue @@ -79,7 +79,7 @@ style="margin-left:2px;" > diff --git a/client/web/compose/src/views/Admin/Pages/Edit.vue b/client/web/compose/src/views/Admin/Pages/Edit.vue index 41e23761a..54f74324c 100644 --- a/client/web/compose/src/views/Admin/Pages/Edit.vue +++ b/client/web/compose/src/views/Admin/Pages/Edit.vue @@ -482,6 +482,16 @@ v-model="layoutEditor.layout.config.visibility.expression" :placeholder="$t('page-layout.condition.placeholder')" /> + + + ? + + @@ -1000,6 +1010,12 @@ export default { return this.icon.type === 'link' ? this.icon.src : this.makeAttachmentUrl(this.icon.src) }, + documentationURL () { + // eslint-disable-next-line no-undef + const [year, month] = VERSION.split('.') + return `https://docs.cortezaproject.org/corteza-docs/${year}.${month}/integrator-guide/compose-configuration/page-layouts.html#visibility-condition` + }, + currentLayoutRoles: { get () { if (!this.layoutEditor.layout) {