forked from indymedia/epicyon
Back button path
parent
e02528725f
commit
0f2f21359e
|
@ -202,9 +202,13 @@ def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str,
|
||||||
optionsStr += checkboxStr
|
optionsStr += checkboxStr
|
||||||
|
|
||||||
optionsStr += optionsLinkStr
|
optionsStr += optionsLinkStr
|
||||||
|
backPath = '/'
|
||||||
|
if nickname:
|
||||||
|
backPath = '/users/' + nickname
|
||||||
optionsStr += \
|
optionsStr += \
|
||||||
' <a href="/"><button type="button" class="buttonIcon" ' + \
|
' <a href="' + backPath + '"><button type="button" ' + \
|
||||||
'name="submitBack">' + translate['Go Back'] + '</button></a>'
|
'class="buttonIcon" name="submitBack">' + translate['Go Back'] + \
|
||||||
|
'</button></a>'
|
||||||
optionsStr += \
|
optionsStr += \
|
||||||
' <button type="submit" class="button" name="submitView">' + \
|
' <button type="submit" class="button" name="submitView">' + \
|
||||||
translate['View'] + '</button>'
|
translate['View'] + '</button>'
|
||||||
|
|
Loading…
Reference in New Issue