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' 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+= \