Consistent, but the other way around

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