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