mirror of https://gitlab.com/bashrc2/epicyon
Check path
parent
4e6d9d2d45
commit
10218086d5
|
@ -321,7 +321,7 @@ def htmlPersonOptions(defaultTimeline: str,
|
|||
backPath = '/users/' + nickname + '/' + defaultTimeline
|
||||
if 'moderation' in backToPath:
|
||||
backPath = '/users/' + nickname + '/moderation'
|
||||
if authorized:
|
||||
if authorized and originPathStr == '/users/' + nickname:
|
||||
optionsStr += \
|
||||
' <a href="' + backPath + '"><button type="button" ' + \
|
||||
'class="buttonIcon" name="submitBack">' + translate['Go Back'] + \
|
||||
|
|
Loading…
Reference in New Issue