From 8dd89e789c6ed2f88f6000546274892bc633c3b1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Oct 2019 17:18:24 +0100 Subject: [PATCH] Link back from calendar to inbox --- webinterface.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index b3932171..fb35ebc6 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2883,7 +2883,7 @@ def htmlCalendarDay(translate: {}, \ baseDir: str,path: str, \ year: int,monthNumber: int,dayNumber: int, nickname: str,domain: str,dayEvents: [], \ - monthName: str) -> str: + monthName: str, actor: str) -> str: """Show a day within the calendar """ accountDir=baseDir+'/accounts/'+nickname+'@'+domain @@ -2900,7 +2900,8 @@ def htmlCalendarDay(translate: {}, \ calendarStr=htmlHeader(cssFilename,calendarStyle) calendarStr+='
\n' calendarStr+='\n' calendarStr+='\n' @@ -2991,7 +2992,7 @@ def htmlCalendar(translate: {}, \ return htmlCalendarDay(translate,baseDir,path, \ year,monthNumber,dayNumber, \ nickname,domain,dayEvents, \ - monthName) + monthName,actor) prevYear=year prevMonthNumber=monthNumber-1 @@ -3023,7 +3024,8 @@ def htmlCalendar(translate: {}, \ calendarStr+='\n'
\n' - calendarStr+='

'+str(dayNumber)+' '+monthName+'


'+str(year)+'\n' + calendarStr+=' ' + calendarStr+='

'+str(dayNumber)+' '+monthName+'


'+str(year)+'\n' calendarStr+='
\n' calendarStr+=' ' calendarStr+=' \n' - calendarStr+='

'+monthName+'

\n' + calendarStr+=' ' + calendarStr+='

'+monthName+'

\n' calendarStr+=' ' calendarStr+=' \n' calendarStr+='