mirror of https://gitlab.com/bashrc2/epicyon
Don't show common emoji on reading status posts
parent
c8e605c2dc
commit
1edcc9a3a1
|
@ -588,15 +588,16 @@ def html_new_post(edit_post_params: {},
|
|||
new_post_image_section += end_edit_section()
|
||||
|
||||
new_post_emoji_section = ''
|
||||
common_emoji_str = html_common_emoji(base_dir, 16)
|
||||
if common_emoji_str:
|
||||
new_post_emoji_section = \
|
||||
begin_edit_section('😀 ' + translate['Common emoji'])
|
||||
new_post_emoji_section += \
|
||||
'<label class="labels">' + \
|
||||
translate['Copy and paste into your text'] + '</label><br>\n'
|
||||
new_post_emoji_section += common_emoji_str
|
||||
new_post_emoji_section += end_edit_section()
|
||||
if not path.endswith('/newreadingstatus'):
|
||||
common_emoji_str = html_common_emoji(base_dir, 16)
|
||||
if common_emoji_str:
|
||||
new_post_emoji_section = \
|
||||
begin_edit_section('😀 ' + translate['Common emoji'])
|
||||
new_post_emoji_section += \
|
||||
'<label class="labels">' + \
|
||||
translate['Copy and paste into your text'] + '</label><br>\n'
|
||||
new_post_emoji_section += common_emoji_str
|
||||
new_post_emoji_section += end_edit_section()
|
||||
|
||||
scope_icon = 'scope_public.png'
|
||||
scope_description = translate['Public']
|
||||
|
|
Loading…
Reference in New Issue