Change the position of the block button

merge-requests/25/head
Bob Mottram 2022-07-15 11:30:50 +01:00
parent e0ec9d5cfe
commit bc2609dc09
1 changed files with 4 additions and 4 deletions

View File

@ -522,10 +522,6 @@ def html_person_options(default_timeline: str,
follow_str + \
'" accesskey="' + access_keys['followButton'] + '">' + \
translate[follow_str] + '</button>\n'
options_str += \
' <button type="submit" class="button" name="submit' + \
block_str + '" accesskey="' + access_keys['blockButton'] + '">' + \
translate[block_str] + '</button>\n'
options_str += \
' <button type="submit" class="button" name="submitDM" ' + \
'accesskey="' + access_keys['menuDM'] + '">' + \
@ -547,6 +543,10 @@ def html_person_options(default_timeline: str,
'name="submitPersonInfo" accesskey="' + \
access_keys['infoButton'] + '">' + \
translate['Info'] + '</button>\n'
options_str += \
' <button type="submit" class="button" name="submit' + \
block_str + '" accesskey="' + access_keys['blockButton'] + '">' + \
translate[block_str] + '</button>\n'
person_notes = ''
if origin_path_str == '/users/' + nickname: