forked from indymedia/epicyon
News header detection
parent
e36c676d3a
commit
ce1900d841
|
@ -83,7 +83,7 @@ def headerButtonsTimeline(defaultTimeline: str,
|
||||||
|
|
||||||
# if this is a news instance and we are viewing the news timeline
|
# if this is a news instance and we are viewing the news timeline
|
||||||
newsHeader = False
|
newsHeader = False
|
||||||
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
|
||||||
newsHeader = True
|
newsHeader = True
|
||||||
|
|
||||||
if not newsHeader:
|
if not newsHeader:
|
||||||
|
|
|
@ -262,7 +262,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
|
|
||||||
# if this is a news instance and we are viewing the news timeline
|
# if this is a news instance and we are viewing the news timeline
|
||||||
newsHeader = False
|
newsHeader = False
|
||||||
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
|
||||||
newsHeader = True
|
newsHeader = True
|
||||||
|
|
||||||
newPostButtonStr = ''
|
newPostButtonStr = ''
|
||||||
|
|
Loading…
Reference in New Issue