diff --git a/webinterface.py b/webinterface.py index e6745a2d..e169b6b2 100644 --- a/webinterface.py +++ b/webinterface.py @@ -6054,25 +6054,46 @@ def getTimelineButtonHeader(defaultTimeline: str, now = datetime.now() # happening today button - tlStr += \ - ' \n' + if not iconsAsButtons: + tlStr += \ + ' ' + \ + '\n' + else: + tlStr += \ + ' ' + \ + '\n' # happening this week button if thisWeeksEventsCheck(baseDir, nickname, domain): - tlStr += \ - ' \n' + if not iconsAsButtons: + tlStr += \ + ' \n' + else: + tlStr += \ + ' \n' else: # happening this week button if thisWeeksEventsCheck(baseDir, nickname, domain): - tlStr += \ - ' \n' + if not iconsAsButtons: + tlStr += \ + ' \n' + else: + tlStr += \ + ' \n' if not iconsAsButtons: # the search button