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
|
||||
newsHeader = False
|
||||
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
||||
if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
|
||||
newsHeader = True
|
||||
|
||||
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
|
||||
newsHeader = False
|
||||
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
||||
if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
|
||||
newsHeader = True
|
||||
|
||||
newPostButtonStr = ''
|
||||
|
|
Loading…
Reference in New Issue