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