mirror of https://gitlab.com/bashrc2/epicyon
In text mode browsers don't show SHOW MORE, because there is no way to hide or expand sections
parent
7d31536778
commit
70f85b6e97
|
@ -800,8 +800,8 @@ def html_timeline(default_timeline: str,
|
||||||
'src="' + users_path + '/' + banner_file + '" /></a>\n' + \
|
'src="' + users_path + '/' + banner_file + '" /></a>\n' + \
|
||||||
'</header>\n'
|
'</header>\n'
|
||||||
|
|
||||||
if full_width_tl_button_header:
|
|
||||||
is_text_browser = text_mode_browser(ua_str)
|
is_text_browser = text_mode_browser(ua_str)
|
||||||
|
if full_width_tl_button_header:
|
||||||
tl_str += \
|
tl_str += \
|
||||||
header_buttons_timeline(default_timeline, box_name, page_number,
|
header_buttons_timeline(default_timeline, box_name, page_number,
|
||||||
translate, users_path, media_button,
|
translate, users_path, media_button,
|
||||||
|
@ -1124,6 +1124,11 @@ def html_timeline(default_timeline: str,
|
||||||
elif item_ctr == 0:
|
elif item_ctr == 0:
|
||||||
tl_str += _get_help_for_timeline(base_dir, box_name)
|
tl_str += _get_help_for_timeline(base_dir, box_name)
|
||||||
|
|
||||||
|
# if using a text mode browser then don't show SHOW MORE because there
|
||||||
|
# is no way to hide/expand sections
|
||||||
|
if is_text_browser:
|
||||||
|
tl_str = tl_str.replace(translate['SHOW MORE'], '')
|
||||||
|
|
||||||
tl_str += \
|
tl_str += \
|
||||||
_html_timeline_end(base_dir, nickname, domain_full,
|
_html_timeline_end(base_dir, nickname, domain_full,
|
||||||
translate,
|
translate,
|
||||||
|
|
Loading…
Reference in New Issue