mirror of https://gitlab.com/bashrc2/epicyon
Show replies count if not authorized
parent
aac8f51a41
commit
752984b0c0
6
blog.py
6
blog.py
|
@ -124,15 +124,15 @@ def htmlBlogPostContent(authorized: bool, \
|
||||||
|
|
||||||
blogStr+='<br><hr>\n'
|
blogStr+='<br><hr>\n'
|
||||||
|
|
||||||
#if not authorized:
|
if not authorized:
|
||||||
replies= \
|
replies= \
|
||||||
noOfBlogReplies(baseDir,httpPrefix,translate, \
|
noOfBlogReplies(baseDir,httpPrefix,translate, \
|
||||||
nickname,domain,domainFull, \
|
nickname,domain,domainFull, \
|
||||||
postJsonObject)
|
postJsonObject)
|
||||||
if replies>0:
|
if replies>0:
|
||||||
blogStr+= \
|
blogStr+= \
|
||||||
'<p class="blogreplies">'+str(replies)+' '+ \
|
'<p class="blogreplies">'+ \
|
||||||
translate['Replies'].lower()+'</p>'
|
translate['Replies'].lower()+': '+str(replies)+'</p>'
|
||||||
|
|
||||||
if not linkedAuthor:
|
if not linkedAuthor:
|
||||||
blogStr+= \
|
blogStr+= \
|
||||||
|
|
Loading…
Reference in New Issue