Pronouns on profile screen

main
Bob Mottram 2024-08-12 11:57:15 +01:00
parent f69319f760
commit f3e3d526df
1 changed files with 5 additions and 2 deletions

View File

@ -621,7 +621,7 @@ def _profile_shared_items_list(attached_shared_items: str,
def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
domain: str, domain_full: str, translate: {},
default_timeline: str,
display_name: str,
display_name: str, pronouns: str,
profile_description_short: str,
featured_hashtags: str,
login_button: str, avatar_url: str,
@ -670,6 +670,9 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
html_str += \
' <b>' + translate['Premium account'] + '</b><br>\n'
if pronouns:
html_str += ' ' + pronouns + '<br>\n'
html_str += occupation_str
# show if the actor is proxied
@ -1358,7 +1361,7 @@ def html_profile(signing_priv_key_pem: str,
nickname,
domain, domain_full, translate,
default_timeline, display_name,
profile_description_short,
pronouns, profile_description_short,
featured_hashtags,
login_button, avatar_url, theme,
moved_to, also_known_as,