mirror of https://gitlab.com/bashrc2/epicyon
Mobile buttons only relevent to news
parent
626e55b953
commit
4eecbe56af
|
@ -3409,18 +3409,19 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
|
||||||
if not authorized:
|
if not authorized:
|
||||||
# the links button to show left column links
|
# the links button to show left column links
|
||||||
loginButton = ' <div class="frontPageMobileButtons">\n'
|
loginButton = ' <div class="frontPageMobileButtons">\n'
|
||||||
loginButton += \
|
if nickname == 'news':
|
||||||
' <a href="' + \
|
loginButton += \
|
||||||
'/users/news/newswiremobile' + \
|
' <a href="' + \
|
||||||
'"><button class="buttonMobile">' + \
|
'/users/news/newswiremobile' + \
|
||||||
'<span>' + translate['Newswire'] + \
|
'"><button class="buttonMobile">' + \
|
||||||
'</span></button></a>\n'
|
'<span>' + translate['Newswire'] + \
|
||||||
loginButton += \
|
'</span></button></a>\n'
|
||||||
' <a href="' + \
|
loginButton += \
|
||||||
'/users/news/linksmobile' + \
|
' <a href="' + \
|
||||||
'"><button class="buttonMobile">' + \
|
'/users/news/linksmobile' + \
|
||||||
'<span>' + translate['Links'] + \
|
'"><button class="buttonMobile">' + \
|
||||||
'</span></button></a>\n'
|
'<span>' + translate['Links'] + \
|
||||||
|
'</span></button></a>\n'
|
||||||
loginButton += \
|
loginButton += \
|
||||||
' <a href="/login' + \
|
' <a href="/login' + \
|
||||||
'"><button class="buttonMobile">' + \
|
'"><button class="buttonMobile">' + \
|
||||||
|
|
Loading…
Reference in New Issue