forked from indymedia/epicyon
Back to default timeline
parent
0f2f21359e
commit
f040bdbc38
|
@ -4708,7 +4708,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
emailAddress = getEmailAddress(actorJson)
|
emailAddress = getEmailAddress(actorJson)
|
||||||
PGPpubKey = getPGPpubKey(actorJson)
|
PGPpubKey = getPGPpubKey(actorJson)
|
||||||
PGPfingerprint = getPGPfingerprint(actorJson)
|
PGPfingerprint = getPGPfingerprint(actorJson)
|
||||||
msg = htmlPersonOptions(self.server.cssCache,
|
msg = htmlPersonOptions(self.server.defaultTimeline,
|
||||||
|
self.server.cssCache,
|
||||||
self.server.translate,
|
self.server.translate,
|
||||||
baseDir, domain,
|
baseDir, domain,
|
||||||
domainFull,
|
domainFull,
|
||||||
|
|
|
@ -21,7 +21,8 @@ from webapp_utils import htmlHeader
|
||||||
from webapp_utils import htmlFooter
|
from webapp_utils import htmlFooter
|
||||||
|
|
||||||
|
|
||||||
def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str,
|
def htmlPersonOptions(defaultTimeline: str,
|
||||||
|
cssCache: {}, translate: {}, baseDir: str,
|
||||||
domain: str, domainFull: str,
|
domain: str, domainFull: str,
|
||||||
originPathStr: str,
|
originPathStr: str,
|
||||||
optionsActor: str,
|
optionsActor: str,
|
||||||
|
@ -204,7 +205,7 @@ def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str,
|
||||||
optionsStr += optionsLinkStr
|
optionsStr += optionsLinkStr
|
||||||
backPath = '/'
|
backPath = '/'
|
||||||
if nickname:
|
if nickname:
|
||||||
backPath = '/users/' + nickname
|
backPath = '/users/' + nickname + '/' + defaultTimeline
|
||||||
optionsStr += \
|
optionsStr += \
|
||||||
' <a href="' + backPath + '"><button type="button" ' + \
|
' <a href="' + backPath + '"><button type="button" ' + \
|
||||||
'class="buttonIcon" name="submitBack">' + translate['Go Back'] + \
|
'class="buttonIcon" name="submitBack">' + translate['Go Back'] + \
|
||||||
|
|
Loading…
Reference in New Issue