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
|
# but may change if this is a blogging oriented instance
|
||||||
if defaultTimeline != 'tlblogs':
|
if defaultTimeline != 'tlblogs':
|
||||||
if not minimal or defaultTimeline == 'tlnews':
|
if not minimal or defaultTimeline == 'tlnews':
|
||||||
if not newsHeader:
|
tlStr += \
|
||||||
tlStr += \
|
' <a href="' + usersPath + \
|
||||||
' <a href="' + usersPath + \
|
'/tlblogs"><button class="' + \
|
||||||
'/tlblogs"><button class="' + \
|
blogsButton + '"><span>' + translate['Blogs'] + \
|
||||||
blogsButton + '"><span>' + translate['Blogs'] + \
|
'</span></button></a>\n'
|
||||||
'</span></button></a>\n'
|
|
||||||
else:
|
else:
|
||||||
if not minimal:
|
if not minimal:
|
||||||
tlStr += \
|
tlStr += \
|
||||||
|
|
Loading…
Reference in New Issue