mirror of https://gitlab.com/bashrc2/epicyon
Don't show copyright icon on reminder posts
parent
565f2ba2a2
commit
4c6e7ce525
|
@ -1667,7 +1667,7 @@ def _get_footer_with_icons(show_icons: bool,
|
||||||
footer_str += delete_str + mute_str + edit_str + buy_str
|
footer_str += delete_str + mute_str + edit_str + buy_str
|
||||||
if not is_news_post(post_json_object):
|
if not is_news_post(post_json_object):
|
||||||
footer_str += ' '
|
footer_str += ' '
|
||||||
if content_license_url:
|
if content_license_url and not is_reminder(post_json_object):
|
||||||
footer_str += _get_copyright_footer(content_license_url,
|
footer_str += _get_copyright_footer(content_license_url,
|
||||||
translate)
|
translate)
|
||||||
# show the date
|
# show the date
|
||||||
|
@ -2409,7 +2409,7 @@ def individual_post_as_html(signing_priv_key_pem: str,
|
||||||
footer_str = ''
|
footer_str = ''
|
||||||
else:
|
else:
|
||||||
footer_str = '<div class="' + container_class_icons + '">\n'
|
footer_str = '<div class="' + container_class_icons + '">\n'
|
||||||
if content_license_url:
|
if content_license_url and not is_reminder(post_json_object):
|
||||||
footer_str += _get_copyright_footer(content_license_url,
|
footer_str += _get_copyright_footer(content_license_url,
|
||||||
translate)
|
translate)
|
||||||
conv_link = '/users/' + nickname + '?convthread=' + \
|
conv_link = '/users/' + nickname + '?convthread=' + \
|
||||||
|
|
Loading…
Reference in New Issue