Indentation

main
Bob Mottram 2020-10-26 14:58:56 +00:00
parent f471c29397
commit 8d4b9191c4
1 changed files with 4 additions and 4 deletions

View File

@ -6118,7 +6118,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
calendarAltText = '*' + calendarAltText + '*' calendarAltText = '*' + calendarAltText + '*'
if not iconsAsButtons: if not iconsAsButtons:
tlStr += \ tlStr += \
' <a class="imageAnchor" href="' + \ ' <a class="imageAnchor" href="' + \
usersPath + calendarPath + \ usersPath + calendarPath + \
'"><img loading="lazy" src="/' + iconsDir + '/' + \ '"><img loading="lazy" src="/' + iconsDir + '/' + \
calendarImage + '" title="' + translate['Calendar'] + \ calendarImage + '" title="' + translate['Calendar'] + \
@ -6126,7 +6126,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
'" class="timelineicon"/></a>\n' '" class="timelineicon"/></a>\n'
else: else:
tlStr += \ tlStr += \
' <a href="' + usersPath + calendarPath + \ ' <a href="' + usersPath + calendarPath + \
'"><button class="button">' + \ '"><button class="button">' + \
'<span>' + translate['Calendar'] + \ '<span>' + translate['Calendar'] + \
'</span></button></a>\n' '</span></button></a>\n'
@ -6134,7 +6134,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
# the show/hide button, for a simpler header appearance # the show/hide button, for a simpler header appearance
if not iconsAsButtons: if not iconsAsButtons:
tlStr += \ tlStr += \
' <a class="imageAnchor" href="' + \ ' <a class="imageAnchor" href="' + \
usersPath + '/minimal' + \ usersPath + '/minimal' + \
'"><img loading="lazy" src="/' + iconsDir + \ '"><img loading="lazy" src="/' + iconsDir + \
'/showhide.png" title="' + translate['Show/Hide Buttons'] + \ '/showhide.png" title="' + translate['Show/Hide Buttons'] + \
@ -6142,7 +6142,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
'" class="timelineicon"/></a>\n' '" class="timelineicon"/></a>\n'
else: else:
tlStr += \ tlStr += \
' <a href="' + usersPath + '/minimal' + \ ' <a href="' + usersPath + '/minimal' + \
'"><button class="button">' + \ '"><button class="button">' + \
'<span>' + translate['Expand'] + \ '<span>' + translate['Expand'] + \
'</span></button></a>\n' '</span></button></a>\n'