forked from indymedia/epicyon
Remove news button from header
parent
180468477d
commit
291f24f6d6
|
@ -62,12 +62,6 @@ def headerButtonsTimeline(defaultTimeline: str,
|
||||||
'/tlblogs"><button class="' + \
|
'/tlblogs"><button class="' + \
|
||||||
blogsButton + '"><span>' + translate['Blogs'] + \
|
blogsButton + '"><span>' + translate['Blogs'] + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
elif defaultTimeline == 'tlnews':
|
|
||||||
tlStr += \
|
|
||||||
'<a href="' + usersPath + \
|
|
||||||
'/tlnews"><button class="' + \
|
|
||||||
newsButton + '"><span>' + translate['News'] + \
|
|
||||||
'</span></button></a>'
|
|
||||||
elif defaultTimeline == 'tlfeatures':
|
elif defaultTimeline == 'tlfeatures':
|
||||||
tlStr += \
|
tlStr += \
|
||||||
'<a href="' + usersPath + \
|
'<a href="' + usersPath + \
|
||||||
|
@ -141,13 +135,7 @@ def headerButtonsTimeline(defaultTimeline: str,
|
||||||
|
|
||||||
# typically the news button
|
# typically the news button
|
||||||
# but may change if this is a news oriented instance
|
# but may change if this is a news oriented instance
|
||||||
if defaultTimeline != 'tlfeatures':
|
if defaultTimeline == 'tlfeatures':
|
||||||
tlStr += \
|
|
||||||
'<a href="' + usersPath + \
|
|
||||||
'/tlnews"><button class="' + \
|
|
||||||
newsButton + '"><span>' + translate['News'] + \
|
|
||||||
'</span></button></a>'
|
|
||||||
else:
|
|
||||||
if not featuresHeader:
|
if not featuresHeader:
|
||||||
tlStr += \
|
tlStr += \
|
||||||
'<a href="' + usersPath + \
|
'<a href="' + usersPath + \
|
||||||
|
|
Loading…
Reference in New Issue