main
Bob Mottram 2020-08-22 17:40:45 +01:00
parent 98e8528eed
commit 7515606abe
1 changed files with 4 additions and 0 deletions

View File

@ -2076,6 +2076,7 @@ def htmlNewPost(mediaInstance: bool, translate: {},
'<input type="time" name="eventTime"></label></p>\n' '<input type="time" name="eventTime"></label></p>\n'
else: else:
# event joining options # event joining options
dateAndLocation += '<div>\n'
dateAndLocation += '<label class="labels">' + \ dateAndLocation += '<label class="labels">' + \
translate['Joining'] + '</label>\n' translate['Joining'] + '</label>\n'
dateAndLocation += '<input type="radio" id="free" ' + \ dateAndLocation += '<input type="radio" id="free" ' + \
@ -2090,6 +2091,8 @@ def htmlNewPost(mediaInstance: bool, translate: {},
'name="joinMode" value="invite">\n' 'name="joinMode" value="invite">\n'
dateAndLocation += '<label class="labels" for="other">' + \ dateAndLocation += '<label class="labels" for="other">' + \
translate['Invitation only'] + '</label>\n' translate['Invitation only'] + '</label>\n'
dateAndLocation += '</div>\n'
dateAndLocation += '<div>\n'
# select start time for the event # select start time for the event
dateAndLocation += '<label class="labels">' + \ dateAndLocation += '<label class="labels">' + \
translate['Start Date'] + ': </label>\n' translate['Start Date'] + ': </label>\n'
@ -2110,6 +2113,7 @@ def htmlNewPost(mediaInstance: bool, translate: {},
translate['Time'] + ':' translate['Time'] + ':'
dateAndLocation += \ dateAndLocation += \
'<input type="time" name="endTime"></label>\n' '<input type="time" name="endTime"></label>\n'
dateAndLocation += '</div>\n'
dateAndLocation += '</div>\n' dateAndLocation += '</div>\n'
dateAndLocation += '<div class="container">\n' dateAndLocation += '<div class="container">\n'