From 7441e9064b9a9df8eb09715b503b62f1ed5f1742 Mon Sep 17 00:00:00 2001 From: nin-jin Date: Wed, 1 Nov 2023 10:59:37 +0000 Subject: [PATCH] +1 --- speech/page/page.view.tree | 33 +++++++++++++++++---------------- speech/page/page.view.ts | 5 +++++ 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/speech/page/page.view.tree b/speech/page/page.view.tree index 13643c7..b33970e 100644 --- a/speech/page/page.view.tree +++ b/speech/page/page.view.tree @@ -10,22 +10,6 @@ $piterjs_speech_page $mol_page enabled <= editing false hint \Название tools / - <= Poster_copy $mol_pick - hint \Скачать постер - trigger_content / - <= Poster_copy_icon $mol_icon_camera - bubble_content / - <= Poster_1_1 $mol_button_download - blob <= poster_1_1_blob? $mol_blob - file_name <= poster_1_1_name \poster_universal.png - title \1:1 - <= Poster_16_19 $mol_button_download - blob <= poster_16_9_blob? $mol_blob - file_name <= poster_16_9_name \poster_fhd.png - title \16:9 - <= Public $mol_check_icon - checked? <=> speech_public? false - Icon <= Public_icon $mol_icon_eye <= Start $mol_pick_time value_moment? <=> start? enabled <= editing false @@ -57,3 +41,20 @@ $piterjs_speech_page $mol_page <= Speaker $piterjs_speaker_snippet speaker <= speaker $piterjs_speaker editing <= editing false + foot / + <= Public $mol_check_icon + checked? <=> speech_public? false + Icon <= Public_icon $mol_icon_eye + <= Poster_copy $mol_pick + hint \Скачать постер + trigger_content / + <= Poster_copy_icon $mol_icon_camera + bubble_content / + <= Poster_1_1 $mol_button_download + blob <= poster_1_1_blob? $mol_blob + file_name <= poster_1_1_name \poster_universal.png + title \1:1 + <= Poster_16_19 $mol_button_download + blob <= poster_16_9_blob? $mol_blob + file_name <= poster_16_9_name \poster_fhd.png + title \16:9 diff --git a/speech/page/page.view.ts b/speech/page/page.view.ts index 45d510e..f41dc94 100644 --- a/speech/page/page.view.ts +++ b/speech/page/page.view.ts @@ -19,6 +19,11 @@ namespace $.$$ { return super.Public() } + override Poster_copy() { + if( !this.editing() ) return null! + return super.Poster_copy() + } + override poster_1_1_name() { return `${ this.speaker().title() } - ${ this.title() } 1-1.png` }