diff --git a/webapp_post.py b/webapp_post.py index 8f1533242..adbf4cde9 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -3211,6 +3211,13 @@ def individual_post_as_html(signing_priv_key_pem: str, translate, session, session, session) if map_str: + event_category = '' + if category_str: + category_text = 'Category' + if translate.get('Category'): + category_text = translate['Category'] + event_category = '
' + category_text + ': ' + \ + category_str + '\n' map_addr_str = '' if '
' in location_str: # append the address after the map @@ -3218,7 +3225,7 @@ def individual_post_as_html(signing_priv_key_pem: str, map_addr_str = \ '

' + addrstr + '\n' map_str = '
\n' + map_str + \ - map_addr_str + '
\n' + map_addr_str + event_category + '\n' attrib = None if post_json_object['object'].get('attributedTo'): attrib = \