File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -262,10 +262,16 @@ namespace $ {
262
262
263
263
@ $mol_mem_key
264
264
post_template ( id : keyof typeof $piterjs_meetup_post_texts , next ?: string ) {
265
- return this . sub ( 'template ' , $hyoo_crowd_dict ) . sub ( id , $hyoo_crowd_text ) . text ( next )
265
+ return this . sub ( 'post_template ' , $hyoo_crowd_dict ) . sub ( id , $hyoo_crowd_text ) . text ( next )
266
266
|| $piterjs_meetup_post_texts [ id ] . replace ( / \t / g, '' ) . trim ( )
267
267
}
268
268
269
+ @ $mol_mem_key
270
+ post_moment ( id : keyof typeof $piterjs_meetup_post_texts , next ?: $mol_time_moment ) {
271
+ const str = this . sub ( 'post_moment' , $hyoo_crowd_dict ) . sub ( id , $hyoo_crowd_reg ) . str ( next ?. toString ( ) )
272
+ return str ? new $mol_time_moment ( str ) : null
273
+ }
274
+
269
275
@ $mol_mem_key
270
276
post_text ( id : keyof typeof $piterjs_meetup_post_texts ) {
271
277
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ $piterjs_meetup_texts $mol_page
2
2
theme \$mol_theme_special
3
3
meetup $piterjs_meetup
4
4
post_text* => post_text*
5
+ post_moment*? => post_moment*?
5
6
title \Тексты постов
6
7
tools /
7
8
<= Templates $mol_link
@@ -17,21 +18,27 @@ $piterjs_meetup_texts $mol_page
17
18
<= Init_text $piterjs_meetup_texts_card
18
19
title \Анонс мероприятия
19
20
text <= post_text*init
21
+ moment? <=> post_moment*init?
20
22
<= Place_text $piterjs_meetup_texts_card
21
23
title \Анонс мероприятия
22
24
text <= post_text*place
25
+ moment? <=> post_moment*place?
23
26
<= Air_text $piterjs_meetup_texts_card
24
27
title \Выход в эфир
25
28
text <= post_text*air
29
+ moment? <=> post_moment*air?
26
30
<= Arterpaty_text $piterjs_meetup_texts_card
27
31
title \Афтепати
28
32
text <= post_text*afterparty
33
+ moment? <=> post_moment*afterparty?
29
34
<= Retro_text $piterjs_meetup_texts_card
30
35
title \Ретропост
31
36
text <= post_text*retro
37
+ moment? <=> post_moment*retro?
32
38
33
39
$piterjs_meetup_texts_card $mol_expander
34
40
Tools $mol_view sub /
41
+ <= Date $mol_date value_moment? <=> moment? $mol_time_moment
35
42
<= Copy $mol_button_copy
36
43
text <= text \
37
44
content / <= Text $mol_text
You can’t perform that action at this time.
0 commit comments