mirror of https://gitlab.com/bashrc2/epicyon
Features button on front page
parent
37e188b0a3
commit
09b3d64071
|
@ -3410,6 +3410,11 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
|
|||
# the links button to show left column links
|
||||
loginButton = ' <div class="frontPageMobileButtons">\n'
|
||||
if nickname == 'news':
|
||||
loginButton += \
|
||||
' <a href="/">' + \
|
||||
'<button class="buttonSelected">' + \
|
||||
'<span>' + translate['Features'] + \
|
||||
'</span></button></a>\n'
|
||||
loginButton += \
|
||||
' <a href="' + \
|
||||
'/users/news/newswiremobile' + \
|
||||
|
@ -3421,7 +3426,7 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
|
|||
'/users/news/linksmobile' + \
|
||||
'"><button class="buttonMobile">' + \
|
||||
'<span>' + translate['Links'] + \
|
||||
'</span></button></a>\n'
|
||||
'</span></button></a>\n'
|
||||
loginButton += \
|
||||
' <a href="/login' + \
|
||||
'"><button class="buttonMobile">' + \
|
||||
|
|
Loading…
Reference in New Issue