diff --git a/webinterface.py b/webinterface.py index e26c891d..132e597d 100644 --- a/webinterface.py +++ b/webinterface.py @@ -6227,25 +6227,25 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' elif defaultTimeline == 'tlblogs': tlStr += \ ' \n' + '' elif defaultTimeline == 'tlnews': tlStr += \ ' \n' + '' else: tlStr += \ ' \n' + translate['Inbox'] + '' # if this is a news instance and we are viewing the news timeline newsHeader = False @@ -6257,13 +6257,13 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' tlStr += \ ' \n' + '' # typically the media button if defaultTimeline != 'tlmedia': @@ -6272,14 +6272,14 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' else: if not minimal: tlStr += \ ' \n' + '' isFeaturesTimeline = \ defaultTimeline == 'tlnews' and boxName == 'tlnews' @@ -6296,14 +6296,14 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' else: if not minimal: tlStr += \ ' \n' + '' # typically the news button # but may change if this is a news oriented instance @@ -6312,14 +6312,14 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' else: if not newsHeader: tlStr += \ ' \n' + '' if not newsHeader: # button for the outbox @@ -6327,7 +6327,7 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' # add other buttons tlStr += \ @@ -6346,14 +6346,14 @@ def headerButtonsTimeline(defaultTimeline: str, str(now.year) + '?month=' + str(now.month) + \ '?day=' + str(now.day) + '">' + \ '\n' + translate['Happening Today'] + '' else: tlStr += \ ' ' + \ '\n' + translate['Happening Today'] + '' # happening this week button if thisWeeksEventsCheck(baseDir, nickname, domain): @@ -6361,12 +6361,12 @@ def headerButtonsTimeline(defaultTimeline: str, tlStr += \ ' \n' + translate['Happening This Week'] + '' else: tlStr += \ ' \n' + translate['Happening This Week'] + '' else: # happening this week button if thisWeeksEventsCheck(baseDir, nickname, domain): @@ -6374,12 +6374,12 @@ def headerButtonsTimeline(defaultTimeline: str, tlStr += \ ' \n' + translate['Happening This Week'] + '' else: tlStr += \ ' \n' + translate['Happening This Week'] + '' if not newsHeader: if not iconsAsButtons: @@ -6390,13 +6390,13 @@ def headerButtonsTimeline(defaultTimeline: str, iconsDir + '/search.png" title="' + \ translate['Search and follow'] + '" alt="| ' + \ translate['Search and follow'] + \ - '" class="timelineicon"/>\n' + '" class="timelineicon"/>' else: tlStr += \ ' \n' + '' # benchmark 5 timeDiff = int((time.time() - timelineStartTime) * 1000) @@ -6422,7 +6422,7 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' if not newsHeader: # the show/hide button, for a simpler header appearance @@ -6439,13 +6439,13 @@ def headerButtonsTimeline(defaultTimeline: str, ' \n' + '' if newsHeader: tlStr += \ ' ' + \ '\n' + '' + translate['User'] + '' # the newswire button to show right column links if not iconsAsButtons: