Indentation

main
Bob Mottram 2020-09-19 10:51:04 +01:00
parent 3472e63e9d
commit f183881f63
1 changed files with 7 additions and 7 deletions

View File

@ -6277,9 +6277,9 @@ def htmlPersonOptions(translate: {}, baseDir: str,
petname = getPetName(baseDir, nickname, domain, handle) petname = getPetName(baseDir, nickname, domain, handle)
optionsStr += \ optionsStr += \
translate['Petname'] + ': ' + \ translate['Petname'] + ': ' + \
'<input type="text" name="optionpetname" value="' + \ ' <input type="text" name="optionpetname" value="' + \
petname + '">\n' \ petname + '">\n' \
'<button type="submit" class="buttonsmall" ' + \ ' <button type="submit" class="buttonsmall" ' + \
'name="submitPetname">' + \ 'name="submitPetname">' + \
translate['Submit'] + '</button><br>\n' translate['Submit'] + '</button><br>\n'
@ -6287,18 +6287,18 @@ def htmlPersonOptions(translate: {}, baseDir: str,
if receivingCalendarEvents(baseDir, nickname, domain, if receivingCalendarEvents(baseDir, nickname, domain,
optionsNickname, optionsDomainFull): optionsNickname, optionsDomainFull):
optionsStr += \ optionsStr += \
'<input type="checkbox" ' + \ ' <input type="checkbox" ' + \
'class="profilecheckbox" name="onCalendar" checked> ' + \ 'class="profilecheckbox" name="onCalendar" checked> ' + \
translate['Receive calendar events from this account'] + \ translate['Receive calendar events from this account'] + \
'<button type="submit" class="buttonsmall" ' + \ '\n <button type="submit" class="buttonsmall" ' + \
'name="submitOnCalendar">' + \ 'name="submitOnCalendar">' + \
translate['Submit'] + '</button><br>\n' 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="buttonsmall" ' + \ '\n <button type="submit" class="buttonsmall" ' + \
'name="submitOnCalendar">' + \ 'name="submitOnCalendar">' + \
translate['Submit'] + '</button><br>\n' translate['Submit'] + '</button><br>\n'
@ -6336,7 +6336,7 @@ def htmlPersonOptions(translate: {}, baseDir: str,
optionsStr += \ optionsStr += \
' <br><br>' + translate['Notes'] + ': \n' ' <br><br>' + translate['Notes'] + ': \n'
optionsStr += '<button type="submit" class="buttonsmall" ' + \ optionsStr += ' <button type="submit" class="buttonsmall" ' + \
'name="submitPersonNotes">' + \ 'name="submitPersonNotes">' + \
translate['Submit'] + '</button><br>\n' translate['Submit'] + '</button><br>\n'
optionsStr += \ optionsStr += \