mirror of https://gitlab.com/bashrc2/epicyon
Show icons if authorized
parent
bdda0d29c2
commit
8129e28a96
|
@ -1899,11 +1899,11 @@ def htmlIndividualPost(baseDir: str,session,wfRequest: {},personCache: {}, \
|
||||||
postJsonObject: {},httpPrefix: str,projectVersion: str) -> str:
|
postJsonObject: {},httpPrefix: str,projectVersion: str) -> str:
|
||||||
"""Show an individual post as html
|
"""Show an individual post as html
|
||||||
"""
|
"""
|
||||||
postStr='<script>'+contentWarningScript()+'</script>'
|
postStr='<script>'+contentWarningScript()+'</script>'
|
||||||
postStr+= \
|
postStr+= \
|
||||||
individualPostAsHtml(None,baseDir,session,wfRequest,personCache, \
|
individualPostAsHtml(None,baseDir,session,wfRequest,personCache, \
|
||||||
nickname,domain,port,postJsonObject,None,True,False, \
|
nickname,domain,port,postJsonObject,None,True,False, \
|
||||||
httpPrefix,projectVersion,False,False,False,False)
|
httpPrefix,projectVersion,False,authorized,False,False)
|
||||||
messageId=postJsonObject['id'].replace('/activity','')
|
messageId=postJsonObject['id'].replace('/activity','')
|
||||||
|
|
||||||
# show the previous posts
|
# show the previous posts
|
||||||
|
|
Loading…
Reference in New Issue