Remove news button from header

main
Bob Mottram 2020-11-29 09:39:56 +00:00
parent 180468477d
commit 291f24f6d6
1 changed files with 1 additions and 13 deletions

View File

@ -62,12 +62,6 @@ def headerButtonsTimeline(defaultTimeline: str,
'/tlblogs"><button class="' + \
blogsButton + '"><span>' + translate['Blogs'] + \
'</span></button></a>'
elif defaultTimeline == 'tlnews':
tlStr += \
'<a href="' + usersPath + \
'/tlnews"><button class="' + \
newsButton + '"><span>' + translate['News'] + \
'</span></button></a>'
elif defaultTimeline == 'tlfeatures':
tlStr += \
'<a href="' + usersPath + \
@ -141,13 +135,7 @@ def headerButtonsTimeline(defaultTimeline: str,
# typically the news button
# but may change if this is a news oriented instance
if defaultTimeline != 'tlfeatures':
tlStr += \
'<a href="' + usersPath + \
'/tlnews"><button class="' + \
newsButton + '"><span>' + translate['News'] + \
'</span></button></a>'
else:
if defaultTimeline == 'tlfeatures':
if not featuresHeader:
tlStr += \
'<a href="' + usersPath + \