Duplicate prepends

merge-requests/21/head
Bob Mottram 2021-03-06 18:48:16 +00:00
parent 4e5c05004c
commit 4667b455b7
1 changed files with 3 additions and 1 deletions

View File

@ -158,13 +158,15 @@ def _htmlCalendarDay(personCache: {}, cssCache: {}, translate: {},
'<a href="' + senderActor + '">' + \
dispName + '</a>: '
if ev.get('name'):
eventDescription = senderName + ev['name'].strip()
eventDescription = ev['name'].strip()
elif ev['type'] == 'Place':
if ev.get('name'):
eventPlace = ev['name']
# prepend a link to the sender of the calendar item
if senderName and eventDescription:
eventDescription = senderName + eventDescription
deleteButtonStr = ''
if postId:
deleteButtonStr = \