Separate moderation bookmark

merge-requests/30/head
Bob Mottram 2021-02-06 11:59:38 +00:00
parent 787169c747
commit 4cb34487f1
1 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
menuLinks: '#links' menuLinks: '#links'
} }
if moderator: if moderator:
navLinks[menuModeration] = usersPath + '/moderation#timeline' navLinks[menuModeration] = usersPath + '/moderation#modtimeline'
tlStr += htmlKeyboardNavigation(textModeBanner, navLinks, tlStr += htmlKeyboardNavigation(textModeBanner, navLinks,
usersPath, translate, followApprovals) usersPath, translate, followApprovals)
@ -507,7 +507,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# second row of buttons for moderator actions # second row of buttons for moderator actions
if moderator and boxName == 'moderation': if moderator and boxName == 'moderation':
tlStr += \ tlStr += \
'<form method="POST" action="/users/' + \ '<form id="modtimeline" method="POST" action="/users/' + \
nickname + '/moderationaction">' nickname + '/moderationaction">'
tlStr += '<div class="container">\n' tlStr += '<div class="container">\n'
idx = 'Nickname or URL. Block using *@domain or nickname@domain' idx = 'Nickname or URL. Block using *@domain or nickname@domain'