diff --git a/img/banner_indymedia.png b/img/banner_indymedia.png index eb02178e8..ac83cc226 100644 Binary files a/img/banner_indymedia.png and b/img/banner_indymedia.png differ diff --git a/webinterface.py b/webinterface.py index 408542575..6573e3148 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5669,6 +5669,32 @@ def htmlTimeline(defaultTimeline: str, sharesButtonStr + bookmarksButtonStr + eventsButtonStr + \ moderationButtonStr + newPostButtonStr + # show todays events buttons on the first inbox page + if boxName == 'inbox' and pageNumber == 1: + if todaysEventsCheck(baseDir, nickname, domain): + now = datetime.now() + + # happening today button + tlStr += \ + ' \n' + + # happening this week button + if thisWeeksEventsCheck(baseDir, nickname, domain): + tlStr += \ + ' \n' + else: + # happening this week button + if thisWeeksEventsCheck(baseDir, nickname, domain): + tlStr += \ + ' \n' + # the search button tlStr += \ ' \n' - - # happening this week button - if thisWeeksEventsCheck(baseDir, nickname, domain): - tlStr += \ - ' \n' - tlStr += ' \n' - else: - # happening this week button - if thisWeeksEventsCheck(baseDir, nickname, domain): - tlStr += \ - '