forked from indymedia/epicyon
Condistions for header icons div
parent
8e498ff46a
commit
fe96691858
|
@ -7029,9 +7029,16 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
'<button class="button"><span>' + \
|
'<button class="button"><span>' + \
|
||||||
translate['Post'] + '</span></button></a>'
|
translate['Post'] + '</span></button></a>'
|
||||||
|
|
||||||
|
|
||||||
|
# if this is a news instance and we are viewing the news timeline
|
||||||
|
newsHeader = False
|
||||||
|
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
||||||
|
newsHeader = True
|
||||||
|
|
||||||
# end of headericons div
|
# end of headericons div
|
||||||
if newPostButtonStr and not iconsAsButtons and not newsHeader:
|
if not newsHeader:
|
||||||
tlStr += '</div>'
|
if not iconsAsButtons:
|
||||||
|
newPostButtonStr += '</div>'
|
||||||
|
|
||||||
# This creates a link to the profile page when viewed
|
# This creates a link to the profile page when viewed
|
||||||
# in lynx, but should be invisible in a graphical web browser
|
# in lynx, but should be invisible in a graphical web browser
|
||||||
|
|
Loading…
Reference in New Issue