mirror of https://gitlab.com/bashrc2/epicyon
Show news in minimal mode
parent
4117ab3a7b
commit
00b9d1fac0
|
@ -5924,14 +5924,12 @@ def htmlTimeline(defaultTimeline: str,
|
|||
# typically the news button
|
||||
# but may change if this is a news oriented instance
|
||||
if defaultTimeline != 'tlnews':
|
||||
if not minimal:
|
||||
tlStr += \
|
||||
' <a href="' + usersPath + \
|
||||
'/tlnews"><button class="' + \
|
||||
newsButton + '"><span>' + translate['News'] + \
|
||||
'</span></button></a>\n'
|
||||
else:
|
||||
if not minimal:
|
||||
tlStr += \
|
||||
' <a href="' + usersPath + \
|
||||
'/inbox"><button class="' + \
|
||||
|
|
Loading…
Reference in New Issue