Show replies count if not authorized

main
Bob Mottram 2020-02-25 20:38:17 +00:00
parent aac8f51a41
commit 752984b0c0
1 changed files with 9 additions and 9 deletions

View File

@ -124,15 +124,15 @@ def htmlBlogPostContent(authorized: bool, \
blogStr+='<br><hr>\n'
#if not authorized:
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>'
'<p class="blogreplies">'+ \
translate['Replies'].lower()+': '+str(replies)+'</p>'
if not linkedAuthor:
blogStr+= \