mirror of https://gitlab.com/bashrc2/epicyon
Add text mode separator to profile search result
parent
3579dcaad4
commit
398cc2e01f
|
@ -380,6 +380,7 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int,
|
|||
session, outbox_url, as_header, project_version,
|
||||
http_prefix, from_domain, debug)
|
||||
if user_feed:
|
||||
text_mode_separator = '<div class="transparent"><hr></div>'
|
||||
minimize_all_images = False
|
||||
if nickname in min_images_for_accounts:
|
||||
minimize_all_images = True
|
||||
|
@ -391,6 +392,7 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int,
|
|||
continue
|
||||
|
||||
profile_str += \
|
||||
text_mode_separator + \
|
||||
individual_post_as_html(signing_priv_key_pem,
|
||||
True, recent_posts_cache,
|
||||
max_recent_posts,
|
||||
|
@ -421,7 +423,7 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int,
|
|||
instance_title = get_config_param(base_dir, 'instanceTitle')
|
||||
return html_header_with_external_style(css_filename,
|
||||
instance_title, None) + \
|
||||
profile_str + html_footer()
|
||||
profile_str + text_mode_separator + html_footer()
|
||||
|
||||
|
||||
def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
|
||||
|
|
Loading…
Reference in New Issue