main
Bob Mottram 2020-07-03 20:55:58 +01:00
parent 4cdbfd82c0
commit ede1feb8a1
1 changed files with 4 additions and 5 deletions

View File

@ -5437,20 +5437,19 @@ def htmlPersonOptions(translate: {}, baseDir: str,
optionsNickname, optionsDomainFull): optionsNickname, optionsDomainFull):
optionsStr += \ optionsStr += \
'<input type="checkbox" ' + \ '<input type="checkbox" ' + \
'class="profilecheckbox" name="onCalendar" ' + \ 'class="profilecheckbox" name="onCalendar" checked> ' + \
'checked>' + \
translate['Receive calendar events from this account'] + \ translate['Receive calendar events from this account'] + \
'<button type="submit" class="button" ' + \ '<button type="submit" class="button" ' + \
'name="submitOnCalendar">' + \ 'name="submitOnCalendar">' + \
translate['Submit'] + '</button><br>' translate['Submit'] + '</button><br>\n'
else: else:
optionsStr += \ optionsStr += \
'<input type="checkbox" ' + \ '<input type="checkbox" ' + \
'class="profilecheckbox" name="onCalendar">' + \ 'class="profilecheckbox" name="onCalendar"> ' + \
translate['Receive calendar events from this account'] + \ translate['Receive calendar events from this account'] + \
'<button type="submit" class="button" ' + \ '<button type="submit" class="button" ' + \
'name="submitOnCalendar">' + \ 'name="submitOnCalendar">' + \
translate['Submit'] + '</button><br>' translate['Submit'] + '</button><br>\n'
optionsStr += optionsLinkStr optionsStr += optionsLinkStr
optionsStr += \ optionsStr += \