Don't show date icon on new reminder

merge-requests/30/head
Bob Mottram 2021-11-03 19:14:36 +00:00
parent cbaffbeaf7
commit 802cd86d38
1 changed files with 7 additions and 5 deletions

View File

@ -205,8 +205,10 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
isNewReminder = True isNewReminder = True
# the date and time # the date and time
dateAndTimeStr = \ dateAndTimeStr = '<p>\n'
'<p><img loading="lazy" alt="" title="" ' + \ if not isNewReminder:
dateAndTimeStr += \
'<img loading="lazy" alt="" title="" ' + \
'class="emojicalendar" src="/' + \ 'class="emojicalendar" src="/' + \
'icons/calendar.png"/>\n' 'icons/calendar.png"/>\n'
# select a date and time for this post # select a date and time for this post
@ -216,7 +218,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
dateAndTimeStr += '<label class="labelsright">' + \ dateAndTimeStr += '<label class="labelsright">' + \
translate['Time'] + ': ' translate['Time'] + ': '
dateAndTimeStr += \ dateAndTimeStr += \
'<input type="time" name="eventTime"></label></p>\n' '<input type="time" name="eventTime"></label>\n</p>\n'
showPublicOnDropdown = True showPublicOnDropdown = True
messageBoxHeight = 400 messageBoxHeight = 400