mirror of https://gitlab.com/bashrc2/epicyon
Don't show calendar in features timeline
parent
73b38b0b3a
commit
35598b9e48
|
@ -6042,10 +6042,14 @@ def getTimelineButtonHeader(defaultTimeline: str,
|
||||||
inboxButton+'"><span>' + translate['Inbox'] + \
|
inboxButton+'"><span>' + translate['Inbox'] + \
|
||||||
'</span></button></a>\n'
|
'</span></button></a>\n'
|
||||||
|
|
||||||
|
isFeaturesTimeline = \
|
||||||
|
defaultTimeline == 'tlnews' and boxName != 'tlnews'
|
||||||
|
|
||||||
|
if not isFeaturesTimeline:
|
||||||
# typically the blogs button
|
# typically the blogs button
|
||||||
# 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:
|
if not minimal and not isFeaturesTimeline:
|
||||||
titleStr = translate['Blogs']
|
titleStr = translate['Blogs']
|
||||||
if defaultTimeline == 'tlnews':
|
if defaultTimeline == 'tlnews':
|
||||||
titleStr = translate['Article']
|
titleStr = translate['Article']
|
||||||
|
@ -6161,6 +6165,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
|
||||||
print('TIMELINE TIMING ' + boxName + ' 5 = ' + str(timeDiff))
|
print('TIMELINE TIMING ' + boxName + ' 5 = ' + str(timeDiff))
|
||||||
|
|
||||||
# the calendar button
|
# the calendar button
|
||||||
|
if not isFeaturesTimeline:
|
||||||
calendarAltText = translate['Calendar']
|
calendarAltText = translate['Calendar']
|
||||||
if newCalendarEvent:
|
if newCalendarEvent:
|
||||||
# indicate that the calendar icon is highlighted
|
# indicate that the calendar icon is highlighted
|
||||||
|
|
Loading…
Reference in New Issue