Show happenings on first inbox page

merge-requests/6/head
Bob Mottram 2020-02-22 22:39:13 +00:00
parent 3dbc7de8d3
commit 83902b451a
1 changed files with 2 additions and 2 deletions

View File

@ -2960,8 +2960,8 @@ def htmlTimeline(defaultTimeline: str, \
# add the javascript for content warnings
tlStr+='<script>'+contentWarningScript()+'</script>'
# show todays events button
if boxName=='inbox':
# show todays events buttons on the first inbox page
if boxName=='inbox' and pageNumber==1:
if todaysEventsCheck(baseDir,nickname,domain):
now=datetime.now()
tlStr+= \