mirror of https://gitlab.com/bashrc2/epicyon
Remove Events timeline, at least until it becomes clearer how the implememnattion will work
parent
30ac93d578
commit
43775447cc
|
@ -136,12 +136,12 @@ def _htmlNewPostDropDown(scopeIcon: str, scopeDescription: str,
|
||||||
'icons/scope_reminder.png"/><b>' + \
|
'icons/scope_reminder.png"/><b>' + \
|
||||||
translate['Reminder'] + '</b><br>' + \
|
translate['Reminder'] + '</b><br>' + \
|
||||||
translate['Scheduled note to yourself'] + '</a></li>\n'
|
translate['Scheduled note to yourself'] + '</a></li>\n'
|
||||||
dropDownContent += \
|
# dropDownContent += \
|
||||||
'<li><a href="' + pathBase + dropdownEventSuffix + \
|
# '<li><a href="' + pathBase + dropdownEventSuffix + \
|
||||||
'"><img loading="lazy" alt="" title="" src="/' + \
|
# '"><img loading="lazy" alt="" title="" src="/' + \
|
||||||
'icons/scope_event.png"/><b>' + \
|
# 'icons/scope_event.png"/><b>' + \
|
||||||
translate['Event'] + '</b><br>' + \
|
# translate['Event'] + '</b><br>' + \
|
||||||
translate['Create an event'] + '</a></li>\n'
|
# translate['Create an event'] + '</a></li>\n'
|
||||||
dropDownContent += \
|
dropDownContent += \
|
||||||
'<li><a href="' + pathBase + dropdownReportSuffix + \
|
'<li><a href="' + pathBase + dropdownReportSuffix + \
|
||||||
'"><img loading="lazy" alt="" title="" src="/' + \
|
'"><img loading="lazy" alt="" title="" src="/' + \
|
||||||
|
|
|
@ -158,7 +158,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
repliesButton = 'buttonhighlighted'
|
repliesButton = 'buttonhighlighted'
|
||||||
mediaButton = 'button'
|
mediaButton = 'button'
|
||||||
bookmarksButton = 'button'
|
bookmarksButton = 'button'
|
||||||
eventsButton = 'button'
|
# eventsButton = 'button'
|
||||||
sentButton = 'button'
|
sentButton = 'button'
|
||||||
sharesButton = 'button'
|
sharesButton = 'button'
|
||||||
if newShare:
|
if newShare:
|
||||||
|
@ -196,8 +196,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
sharesButton = 'buttonselectedhighlighted'
|
sharesButton = 'buttonselectedhighlighted'
|
||||||
elif boxName == 'tlbookmarks' or boxName == 'bookmarks':
|
elif boxName == 'tlbookmarks' or boxName == 'bookmarks':
|
||||||
bookmarksButton = 'buttonselected'
|
bookmarksButton = 'buttonselected'
|
||||||
elif boxName == 'tlevents':
|
# elif boxName == 'tlevents':
|
||||||
eventsButton = 'buttonselected'
|
# eventsButton = 'buttonselected'
|
||||||
|
|
||||||
# get the full domain, including any port number
|
# get the full domain, including any port number
|
||||||
fullDomain = getFullDomain(domain, port)
|
fullDomain = getFullDomain(domain, port)
|
||||||
|
@ -254,11 +254,11 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
'<a href="' + usersPath + '/tlbookmarks"><button class="' + \
|
'<a href="' + usersPath + '/tlbookmarks"><button class="' + \
|
||||||
bookmarksButton + '"><span>' + translate['Bookmarks'] + \
|
bookmarksButton + '"><span>' + translate['Bookmarks'] + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
|
#
|
||||||
eventsButtonStr = \
|
# eventsButtonStr = \
|
||||||
'<a href="' + usersPath + '/tlevents"><button class="' + \
|
# '<a href="' + usersPath + '/tlevents"><button class="' + \
|
||||||
eventsButton + '"><span>' + translate['Events'] + \
|
# eventsButton + '"><span>' + translate['Events'] + \
|
||||||
'</span></button></a>'
|
# '</span></button></a>'
|
||||||
|
|
||||||
instanceTitle = \
|
instanceTitle = \
|
||||||
getConfigParam(baseDir, 'instanceTitle')
|
getConfigParam(baseDir, 'instanceTitle')
|
||||||
|
@ -400,8 +400,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
translate['Bookmarks']
|
translate['Bookmarks']
|
||||||
menuShares = \
|
menuShares = \
|
||||||
htmlHideFromScreenReader('🤝') + ' ' + sharesStr
|
htmlHideFromScreenReader('🤝') + ' ' + sharesStr
|
||||||
menuEvents = \
|
# menuEvents = \
|
||||||
htmlHideFromScreenReader('🎫') + ' ' + translate['Events']
|
# htmlHideFromScreenReader('🎫') + ' ' + translate['Events']
|
||||||
menuBlogs = \
|
menuBlogs = \
|
||||||
htmlHideFromScreenReader('📝') + ' ' + translate['Blogs']
|
htmlHideFromScreenReader('📝') + ' ' + translate['Blogs']
|
||||||
menuNewswire = \
|
menuNewswire = \
|
||||||
|
@ -426,7 +426,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
menuBookmarks: usersPath + '/tlbookmarks#timeline',
|
menuBookmarks: usersPath + '/tlbookmarks#timeline',
|
||||||
menuShares: usersPath + '/tlshares#timeline',
|
menuShares: usersPath + '/tlshares#timeline',
|
||||||
menuBlogs: usersPath + '/tlblogs#timeline',
|
menuBlogs: usersPath + '/tlblogs#timeline',
|
||||||
menuEvents: usersPath + '/tlevents#timeline',
|
# menuEvents: usersPath + '/tlevents#timeline',
|
||||||
menuNewswire: '#newswire',
|
menuNewswire: '#newswire',
|
||||||
menuLinks: '#links'
|
menuLinks: '#links'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue