Change position of settings button

merge-requests/8/head
Bob Mottram 2020-11-02 18:43:33 +00:00
parent 57d6657956
commit 69e9fc11c8
1 changed files with 6 additions and 4 deletions

View File

@ -6446,10 +6446,6 @@ def headerButtonsTimeline(defaultTimeline: str,
' <a href="' + usersPath + '/inbox">' + \
'<button class="button">' + \
'<span>' + translate['User'] + '</span></button></a>\n'
tlStr += \
' <a href="' + usersPath + '/editprofile">' + \
'<button class="buttonDesktop">' + \
'<span>' + translate['Settings'] + '</span></button></a>\n'
# the newswire button to show right column links
if not iconsAsButtons:
@ -6485,6 +6481,12 @@ def headerButtonsTimeline(defaultTimeline: str,
'<span>' + translate['Links'] + \
'</span></button></a>\n'
if newsHeader:
tlStr += \
' <a href="' + usersPath + '/editprofile">' + \
'<button class="buttonDesktop">' + \
'<span>' + translate['Settings'] + '</span></button></a>\n'
if not newsHeader:
tlStr += followApprovals
# end of the button header with inbox, outbox, etc