From d6f11dd0bfcd9acb01a93bd3f70c1d6922f51b20 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 3 Jan 2023 17:54:09 +0000 Subject: [PATCH] Formatting of content license icon on profile posts --- webapp_post.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webapp_post.py b/webapp_post.py index 8080ff786..f4c7f4558 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2373,7 +2373,10 @@ def individual_post_as_html(signing_priv_key_pem: str, content_license_url = _get_content_license(post_json_object) if not is_news_post(post_json_object): - footer_str = '' + if show_icons: + footer_str = '' + else: + footer_str = '
\n' if content_license_url: footer_str += _get_copyright_footer(content_license_url, translate) @@ -2382,6 +2385,8 @@ def individual_post_as_html(signing_priv_key_pem: str, footer_str += '' + \ published_str + '\n' + if not show_icons: + footer_str = '
\n' else: footer_str = '