mirror of https://gitlab.com/bashrc2/epicyon
Don't show date icon on new reminder
parent
cbaffbeaf7
commit
802cd86d38
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue