From f3e3d526df7a56437cd1709064cff4884f3fdb63 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 12 Aug 2024 11:57:15 +0100 Subject: [PATCH] Pronouns on profile screen --- webapp_profile.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index 4d3fd9c2b..56b60e0d5 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -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 += \ ' ' + translate['Premium account'] + '
\n' + if pronouns: + html_str += ' ' + pronouns + '
\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,