More descriptive

main
Bob Mottram 2023-02-09 14:18:21 +00:00
parent 0895404fb7
commit 996ae50a8c
1 changed files with 6 additions and 3 deletions

View File

@ -2189,17 +2189,20 @@ def individual_post_as_html(signing_priv_key_pem: str,
title_str += \
' <img loading="lazy" decoding="async" src="/' + \
'icons/scope_followers.png" class="postScopeIcon" title="' + \
translate['Followers'] + '"/>\n'
translate['Only to followers'] + ':" alt="' + \
translate['Only to followers'] + ':"/>\n'
elif is_unlisted_post(post_json_object):
title_str += \
' <img loading="lazy" decoding="async" src="/' + \
'icons/scope_unlisted.png" class="postScopeIcon" title="' + \
translate['Unlisted'] + '"/>\n'
translate['Not on public timeline'] + ':" alt="' + \
translate['Not on public timeline'] + ':"/>\n'
elif is_reminder(post_json_object):
title_str += \
' <img loading="lazy" decoding="async" src="/' + \
'icons/scope_reminder.png" class="postScopeIcon" title="' + \
translate['Reminder'] + '"/>\n'
translate['Scheduled note to yourself'] + ':" alt="' + \
translate['Scheduled note to yourself'] + ':"/>\n'
display_name = get_display_name(base_dir, post_actor, person_cache)
if display_name: