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:
|
||||
# the links button to show left column links
|
||||
loginButton = ' <div class="frontPageMobileButtons">\n'
|
||||
loginButton += \
|
||||
' <a href="' + \
|
||||
'/users/news/newswiremobile' + \
|
||||
'"><button class="buttonMobile">' + \
|
||||
'<span>' + translate['Newswire'] + \
|
||||
'</span></button></a>\n'
|
||||
loginButton += \
|
||||
' <a href="' + \
|
||||
'/users/news/linksmobile' + \
|
||||
'"><button class="buttonMobile">' + \
|
||||
'<span>' + translate['Links'] + \
|
||||
'</span></button></a>\n'
|
||||
if nickname == 'news':
|
||||
loginButton += \
|
||||
' <a href="' + \
|
||||
'/users/news/newswiremobile' + \
|
||||
'"><button class="buttonMobile">' + \
|
||||
'<span>' + translate['Newswire'] + \
|
||||
'</span></button></a>\n'
|
||||
loginButton += \
|
||||
' <a href="' + \
|
||||
'/users/news/linksmobile' + \
|
||||
'"><button class="buttonMobile">' + \
|
||||
'<span>' + translate['Links'] + \
|
||||
'</span></button></a>\n'
|
||||
loginButton += \
|
||||
' <a href="/login' + \
|
||||
'"><button class="buttonMobile">' + \
|
||||
|
|
Loading…
Reference in New Issue