mirror of https://gitlab.com/bashrc2/epicyon
Start of header icons
parent
ef7b17196f
commit
a3aac5e1c2
|
@ -6957,6 +6957,16 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
if timeDiff > 100:
|
if timeDiff > 100:
|
||||||
print('TIMELINE TIMING ' + boxName + ' 4 = ' + str(timeDiff))
|
print('TIMELINE TIMING ' + boxName + ' 4 = ' + str(timeDiff))
|
||||||
|
|
||||||
|
# if this is a news instance and we are viewing the news timeline
|
||||||
|
newsHeader = False
|
||||||
|
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
||||||
|
newsHeader = True
|
||||||
|
|
||||||
|
# start of headericons div
|
||||||
|
if not newsHeader:
|
||||||
|
if not iconsAsButtons:
|
||||||
|
newPostButtonStr += '<div class="headericons">'
|
||||||
|
|
||||||
# what screen to go to when a new post is created
|
# what screen to go to when a new post is created
|
||||||
if boxName == 'dm':
|
if boxName == 'dm':
|
||||||
if not iconsAsButtons:
|
if not iconsAsButtons:
|
||||||
|
@ -7030,17 +7040,6 @@ 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
|
|
||||||
|
|
||||||
# start of headericons div
|
|
||||||
if not newsHeader:
|
|
||||||
if not iconsAsButtons:
|
|
||||||
newPostButtonStr += '<div class="headericons">'
|
|
||||||
|
|
||||||
# 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
|
||||||
tlStr += \
|
tlStr += \
|
||||||
|
|
Loading…
Reference in New Issue