diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index 85c2d9fb3..c277a3511 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -43,7 +43,8 @@ def headerButtonsTimeline(defaultTimeline: str, calendarPath: str, calendarImage: str, followApprovals: str, - iconsAsButtons: bool) -> str: + iconsAsButtons: bool, + accessKeys: {}) -> str: """Returns the header at the top of the timeline, containing buttons for inbox, outbox, search, calendar, etc """ @@ -53,7 +54,9 @@ def headerButtonsTimeline(defaultTimeline: str, if defaultTimeline == 'tlmedia': tlStr += \ '' elif defaultTimeline == 'tlblogs': diff --git a/webapp_timeline.py b/webapp_timeline.py index 2298dd019..10b9748bf 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -269,7 +269,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, # show follow approvals icon followApprovals = \ '' + \ + '/followers#buttonheader" ' + \ + 'accesskey="' + accessKeys['followButton'] + '">' + \ '' + \
                         translate['Approve follow requests'] + \
@@ -515,7 +516,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
                                   domain, timelineStartTime,
                                   newCalendarEvent, calendarPath,
                                   calendarImage, followApprovals,
-                                  iconsAsButtons)
+                                  iconsAsButtons, accessKeys)
 
     # start the timeline
     tlStr += '<table class=\n' @@ -555,7 +556,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, domain, timelineStartTime, newCalendarEvent, calendarPath, calendarImage, followApprovals, - iconsAsButtons) + iconsAsButtons, accessKeys) tlStr += '
\n'