From 77de3f2b9d50afa3b7959faa16ce5a87d7328864 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 15 Nov 2020 13:47:15 +0900 Subject: [PATCH] =?UTF-8?q?Pages=E5=9F=8B=E3=82=81=E8=BE=BC=E3=81=BF?= =?UTF-8?q?=E3=83=8E=E3=83=BC=E3=83=88=E3=81=A7=E8=A9=B3=E7=B4=B0=E8=A1=A8?= =?UTF-8?q?=E7=A4=BA=E3=81=AB=E3=81=99=E3=82=8B=E3=81=8B=E3=81=A9=E3=81=86?= =?UTF-8?q?=E3=81=8B=E9=81=B8=E3=81=B9=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja-JP.yml | 1 + src/client/components/page/page.note.vue | 2 +- src/client/pages/page-editor/els/page-editor.el.note.vue | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index ecba573bae..330776db9f 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1181,6 +1181,7 @@ _pages: _note: id: "ノートID" idDescription: "ノートURLをペーストして設定することもできます。" + detailed: "詳細な表示" switch: "スイッチ" _switch: diff --git a/src/client/components/page/page.note.vue b/src/client/components/page/page.note.vue index 4f1df77675..b4b6a9efcd 100644 --- a/src/client/components/page/page.note.vue +++ b/src/client/components/page/page.note.vue @@ -1,6 +1,6 @@ diff --git a/src/client/pages/page-editor/els/page-editor.el.note.vue b/src/client/pages/page-editor/els/page-editor.el.note.vue index d80623a63e..239ae3c014 100644 --- a/src/client/pages/page-editor/els/page-editor.el.note.vue +++ b/src/client/pages/page-editor/els/page-editor.el.note.vue @@ -7,8 +7,9 @@ {{ $t('_pages.blocks._note.id') }} + {{ $t('_pages.blocks._note.detailed') }} - + @@ -18,12 +19,13 @@ import { defineComponent } from 'vue'; import { faStickyNote } from '@fortawesome/free-solid-svg-icons'; import XContainer from '../page-editor.container.vue'; import MkInput from '@/components/ui/input.vue'; +import MkSwitch from '@/components/ui/switch.vue'; import XNote from '@/components/note.vue'; import * as os from '@/os'; export default defineComponent({ components: { - XContainer, MkInput, XNote + XContainer, MkInput, MkSwitch, XNote }, props: { @@ -57,6 +59,7 @@ export default defineComponent({ created() { if (this.value.note == null) this.value.note = null; + if (this.value.detailed == null) this.value.detailed = false; }, });