From ce04a4cf7ab2a76fc5d017117f05837c42a715e6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 11 Jul 2020 18:49:45 +0100 Subject: [PATCH] Calendar day --- webinterface.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 53b63e600..77ebd0060 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5648,11 +5648,15 @@ def htmlCalendarDay(translate: {}, with open(cssFilename, 'r') as cssFile: calendarStyle = cssFile.read() + calActor = actor + if '/users/' in actor: + calActor = '/users/' + actor.split('/users/')[1] + calendarStr = htmlHeader(cssFilename, calendarStyle) calendarStr += '
\n' calendarStr += '
\n' calendarStr += \ - ' ' calendarStr += \ '

' + str(dayNumber) + ' ' + monthName + \ @@ -5687,7 +5691,7 @@ def htmlCalendarDay(translate: {}, deleteButtonStr = '' if postId: deleteButtonStr = \ - '