Features button on front page

main
Bob Mottram 2020-10-30 12:59:56 +00:00
parent 37e188b0a3
commit 09b3d64071
1 changed files with 6 additions and 1 deletions

View File

@ -3410,6 +3410,11 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
# 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'
if nickname == 'news': if nickname == 'news':
loginButton += \
' <a href="/">' + \
'<button class="buttonSelected">' + \
'<span>' + translate['Features'] + \
'</span></button></a>\n'
loginButton += \ loginButton += \
' <a href="' + \ ' <a href="' + \
'/users/news/newswiremobile' + \ '/users/news/newswiremobile' + \
@ -3421,7 +3426,7 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
'/users/news/linksmobile' + \ '/users/news/linksmobile' + \
'"><button class="buttonMobile">' + \ '"><button class="buttonMobile">' + \
'<span>' + translate['Links'] + \ '<span>' + translate['Links'] + \
'</span></button></a>\n' '</span></button></a>\n'
loginButton += \ loginButton += \
' <a href="/login' + \ ' <a href="/login' + \
'"><button class="buttonMobile">' + \ '"><button class="buttonMobile">' + \