mirror of https://gitlab.com/bashrc2/epicyon
Show blogs button on news instance
parent
25b68c86ec
commit
5ece918e6d
|
@ -6034,12 +6034,11 @@ def getTimelineButtonHeader(defaultTimeline: str,
|
|||
# but may change if this is a blogging oriented instance
|
||||
if defaultTimeline != 'tlblogs':
|
||||
if not minimal or defaultTimeline == 'tlnews':
|
||||
if not newsHeader:
|
||||
tlStr += \
|
||||
' <a href="' + usersPath + \
|
||||
'/tlblogs"><button class="' + \
|
||||
blogsButton + '"><span>' + translate['Blogs'] + \
|
||||
'</span></button></a>\n'
|
||||
tlStr += \
|
||||
' <a href="' + usersPath + \
|
||||
'/tlblogs"><button class="' + \
|
||||
blogsButton + '"><span>' + translate['Blogs'] + \
|
||||
'</span></button></a>\n'
|
||||
else:
|
||||
if not minimal:
|
||||
tlStr += \
|
||||
|
|
Loading…
Reference in New Issue