From 752984b0c09c9a68962494052aed67ffc72ca3c4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Feb 2020 20:38:17 +0000 Subject: [PATCH] Show replies count if not authorized --- blog.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/blog.py b/blog.py index 86050c755..b62533d70 100644 --- a/blog.py +++ b/blog.py @@ -124,15 +124,15 @@ def htmlBlogPostContent(authorized: bool, \ blogStr+='

\n' - #if not authorized: - replies= \ - noOfBlogReplies(baseDir,httpPrefix,translate, \ - nickname,domain,domainFull, \ - postJsonObject) - if replies>0: - blogStr+= \ - '

'+str(replies)+' '+ \ - translate['Replies'].lower()+'

' + if not authorized: + replies= \ + noOfBlogReplies(baseDir,httpPrefix,translate, \ + nickname,domain,domainFull, \ + postJsonObject) + if replies>0: + blogStr+= \ + '

'+ \ + translate['Replies'].lower()+': '+str(replies)+'

' if not linkedAuthor: blogStr+= \