End of header icons div

main
Bob Mottram 2020-11-15 18:54:02 +00:00
parent dca56e99ec
commit 06478d9ddb
1 changed files with 4 additions and 2 deletions

View File

@ -998,8 +998,6 @@ def headerButtonsTimeline(defaultTimeline: str,
'/links.png" title="' + translate['Edit Links'] + \
'" alt="| ' + translate['Edit Links'] + \
'" class="timelineicon"/></a>'
# end of headericons div
tlStr += '</div>'
else:
# NOTE: deliberately no \n at end of line
tlStr += \
@ -1015,6 +1013,10 @@ def headerButtonsTimeline(defaultTimeline: str,
'<button class="buttonDesktop">' + \
'<span>' + translate['Settings'] + '</span></button></a>'
if not iconsAsButtons:
# end of headericons div
tlStr += '</div>'
if not newsHeader:
tlStr += followApprovals
# end of the button header with inbox, outbox, etc