From 521249499bcfdf4b892755e59810d41c5408d679 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 11 Oct 2019 21:21:03 +0100 Subject: [PATCH] Remove calendar dots --- webinterface.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/webinterface.py b/webinterface.py index a79528cf..f4a7f111 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2965,20 +2965,13 @@ def htmlCalendar(translate: {}, \ if dayOfMonth==currDate.day: isToday=True if events.get(str(dayOfMonth)): - eventDots='' - if len(events[str(dayOfMonth)])>1: - for ev in events[str(dayOfMonth)]: - eventDots+='.' - if eventDots=='...': - break - eventDots='..' url=actor+'/calendar?year='+str(year)+'?month='+str(monthNumber)+'?day='+str(dayOfMonth) dayLink=''+str(dayOfMonth)+'' # there are events for this day if not isToday: - calendarStr+=' '+dayLink+'\n' + calendarStr+=' '+dayLink+'\n' else: - calendarStr+=' '+dayLink+'\n' + calendarStr+=' '+dayLink+'\n' else: # No events today if not isToday: