diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index 84f781b4e..93c03dbb8 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -56,7 +56,7 @@ def header_buttons_timeline(default_timeline: str, # first button if default_timeline == 'tlmedia': tl_str += \ - '' @@ -269,7 +269,8 @@ def header_buttons_timeline(default_timeline: str, tl_str += \ '' + \ + '| ' + \
                 translate['Search and follow'] + \
@@ -278,7 +279,7 @@ def header_buttons_timeline(default_timeline: str,
             # the search button
             tl_str += \
                 '<a href=' + \ + '/search" tabindex="8">' + \ '' @@ -317,15 +319,15 @@ def header_buttons_timeline(default_timeline: str, if not icons_as_buttons: tl_str += \ ' ' + \ + '| ' + translate['Show/Hide Buttons'] + \
                 '\n' else: tl_str += \ '' diff --git a/webapp_timeline.py b/webapp_timeline.py index a794a199d..ef6674aeb 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -107,7 +107,7 @@ def _html_timeline_new_post(manually_approve_followers: bool, if not icons_as_buttons: new_post_button_str += \ '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' elif box_name in ('tlblogs', 'tlnews', 'tlfeatures'): if not icons_as_buttons: new_post_button_str += \ '' + \ + '| ' + \
                 translate['Create a new post'] + \
                 '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' elif box_name == 'tlshares': if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newshare?nodropdown" tabindex="9">' + \ '| ' + \
@@ -144,14 +146,15 @@ def _html_timeline_new_post(manually_approve_followers: bool,
                 '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' elif box_name == 'tlwanted': if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newwanted?nodropdown" tabindex="9">' + \ '| ' + \
@@ -159,7 +162,8 @@ def _html_timeline_new_post(manually_approve_followers: bool,
                 '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' else: @@ -167,7 +171,7 @@ def _html_timeline_new_post(manually_approve_followers: bool, if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newpost" tabindex="9">' + \ '| ' + \
@@ -175,14 +179,14 @@ def _html_timeline_new_post(manually_approve_followers: bool,
                     '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' else: if not icons_as_buttons: new_post_button_str += \ '' + \ + '/newfollowers" tabindex="9">' + \ '\n' else: new_post_button_str += \ - '' + \ + '' + \ '' return new_post_button_str @@ -747,7 +752,8 @@ def html_timeline(css_cache: {}, default_timeline: str, '
\n' + \ '\n' + translate['Switch to profile view'] + '" ' + \ + 'aria-flowto="containerHeader" tabindex="1">\n' tl_str += '\n' + \