mirror of https://gitlab.com/bashrc2/epicyon
Variable names
parent
5bbe8c4afe
commit
73860b1d44
|
@ -479,9 +479,14 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
menuNewswire: usersPath + '/newswiremobile',
|
menuNewswire: usersPath + '/newswiremobile',
|
||||||
menuLinks: usersPath + '/linksmobile'
|
menuLinks: usersPath + '/linksmobile'
|
||||||
}
|
}
|
||||||
|
navAccessKeys = {}
|
||||||
|
for variableName, key in accessKeys.items():
|
||||||
|
if not locals().get(variableName):
|
||||||
|
continue
|
||||||
|
navAccessKeys[locals()[variableName]] = key
|
||||||
if moderator:
|
if moderator:
|
||||||
navLinks[menuModeration] = usersPath + '/moderation#modtimeline'
|
navLinks[menuModeration] = usersPath + '/moderation#modtimeline'
|
||||||
tlStr += htmlKeyboardNavigation(textModeBanner, navLinks, accessKeys,
|
tlStr += htmlKeyboardNavigation(textModeBanner, navLinks, navAccessKeys,
|
||||||
None, usersPath, translate,
|
None, usersPath, translate,
|
||||||
followApprovals)
|
followApprovals)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue