forked from indymedia/epicyon
Consistent, but the other way around
parent
1b023c4255
commit
3b897839c6
|
@ -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,12 +3338,13 @@ def headerButtonsFrontScreen(translate: {},
|
||||||
'"><button class="' + buttonLinks + '">' + \
|
'"><button class="' + buttonLinks + '">' + \
|
||||||
'<span>' + translate['Links'] + \
|
'<span>' + translate['Links'] + \
|
||||||
'</span></button></a>\n'
|
'</span></button></a>\n'
|
||||||
if not authorized:
|
else:
|
||||||
headerStr += \
|
if not authorized:
|
||||||
' <a href="/login' + \
|
headerStr += \
|
||||||
'"><button class="buttonMobile">' + \
|
' <a href="/login' + \
|
||||||
'<span>' + translate['Login'] + \
|
'"><button class="buttonMobile">' + \
|
||||||
'</span></button></a>\n'
|
'<span>' + translate['Login'] + \
|
||||||
|
'</span></button></a>\n'
|
||||||
headerStr += ' </div>\n'
|
headerStr += ' </div>\n'
|
||||||
return headerStr
|
return headerStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue