Add some emoji

main
Bob Mottram 2022-04-15 14:46:25 +01:00
parent 3eb5a633ea
commit 943c3acae8
1 changed files with 3 additions and 3 deletions

View File

@ -366,8 +366,8 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
for curr_post_type in new_post_endpoints: for curr_post_type in new_post_endpoints:
path_base = path_base.replace('/' + curr_post_type, '') path_base = path_base.replace('/' + curr_post_type, '')
new_post_image_section = \ attach_str = 'Attach an image, video or audio file'
begin_edit_section(translate['Attach an image, video or audio file']) new_post_image_section = begin_edit_section('📷 ' + translate[attach_str])
new_post_image_section += \ new_post_image_section += \
' <input type="file" id="attachpic" name="attachpic"' ' <input type="file" id="attachpic" name="attachpic"'
formats_string = get_media_formats() formats_string = get_media_formats()
@ -630,7 +630,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
replies_section += '</div>\n' replies_section += '</div>\n'
date_and_location = \ date_and_location = \
begin_edit_section(translate['Set a place and time']) begin_edit_section('🗓️ ' + translate['Set a place and time'])
if endpoint == 'newpost': if endpoint == 'newpost':
date_and_location += \ date_and_location += \
'<p><input type="checkbox" class="profilecheckbox" ' + \ '<p><input type="checkbox" class="profilecheckbox" ' + \