forked from indymedia/epicyon
Don't show calendar in features timeline
parent
73b38b0b3a
commit
35598b9e48
|
@ -6042,10 +6042,14 @@ def getTimelineButtonHeader(defaultTimeline: str,
|
|||
inboxButton+'"><span>' + translate['Inbox'] + \
|
||||
'</span></button></a>\n'
|
||||
|
||||
isFeaturesTimeline = \
|
||||
defaultTimeline == 'tlnews' and boxName != 'tlnews'
|
||||
|
||||
if not isFeaturesTimeline:
|
||||
# typically the blogs button
|
||||
# but may change if this is a blogging oriented instance
|
||||
if defaultTimeline != 'tlblogs':
|
||||
if not minimal:
|
||||
if not minimal and not isFeaturesTimeline:
|
||||
titleStr = translate['Blogs']
|
||||
if defaultTimeline == 'tlnews':
|
||||
titleStr = translate['Article']
|
||||
|
@ -6161,6 +6165,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
|
|||
print('TIMELINE TIMING ' + boxName + ' 5 = ' + str(timeDiff))
|
||||
|
||||
# the calendar button
|
||||
if not isFeaturesTimeline:
|
||||
calendarAltText = translate['Calendar']
|
||||
if newCalendarEvent:
|
||||
# indicate that the calendar icon is highlighted
|
||||
|
|
Loading…
Reference in New Issue