Consistent, but the other way around

merge-requests/8/head
Bob Mottram 2020-10-30 15:14:54 +00:00
parent 1b023c4255
commit 3b897839c6
1 changed files with 13 additions and 6 deletions

View File

@ -3320,6 +3320,12 @@ def headerButtonsFrontScreen(translate: {},
'<button class="' + buttonFeatures + '">' + \
'<span>' + translate['Features'] + \
'</span></button></a>\n'
if not authorized:
headerStr += \
' <a href="/login' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Login'] + \
'</span></button></a>\n'
headerStr += \
' <a href="' + \
'/users/news/newswiremobile' + \
@ -3332,12 +3338,13 @@ def headerButtonsFrontScreen(translate: {},
'"><button class="' + buttonLinks + '">' + \
'<span>' + translate['Links'] + \
'</span></button></a>\n'
if not authorized:
headerStr += \
' <a href="/login' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Login'] + \
'</span></button></a>\n'
else:
if not authorized:
headerStr += \
' <a href="/login' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Login'] + \
'</span></button></a>\n'
headerStr += ' </div>\n'
return headerStr