forked from indymedia/epicyon
Replies title
parent
fed40ed916
commit
5f3f9744fd
10
blog.py
10
blog.py
|
@ -152,6 +152,11 @@ def htmlBlogPostContent(authorized: bool, \
|
||||||
|
|
||||||
blogStr+='<br><hr>\n'
|
blogStr+='<br><hr>\n'
|
||||||
|
|
||||||
|
if not linkedAuthor:
|
||||||
|
blogStr+= \
|
||||||
|
'<p class="about"><a class="about" href="'+httpPrefix+'://'+domainFull+ \
|
||||||
|
'/users/'+nickname+'">'+translate['About the author']+'</a></p>\n'
|
||||||
|
|
||||||
if not authorized:
|
if not authorized:
|
||||||
replies= \
|
replies= \
|
||||||
noOfBlogReplies(baseDir,httpPrefix,translate, \
|
noOfBlogReplies(baseDir,httpPrefix,translate, \
|
||||||
|
@ -162,16 +167,13 @@ def htmlBlogPostContent(authorized: bool, \
|
||||||
'<p class="blogreplies">'+ \
|
'<p class="blogreplies">'+ \
|
||||||
translate['Replies'].lower()+': '+str(replies)+'</p>'
|
translate['Replies'].lower()+': '+str(replies)+'</p>'
|
||||||
else:
|
else:
|
||||||
|
blogStr+='<h1>'+translate['Replies']+'</h1>'
|
||||||
blogStr+= \
|
blogStr+= \
|
||||||
getBlogReplies(baseDir,httpPrefix,translate, \
|
getBlogReplies(baseDir,httpPrefix,translate, \
|
||||||
nickname,domain,domainFull, \
|
nickname,domain,domainFull, \
|
||||||
postJsonObject)
|
postJsonObject)
|
||||||
blogStr+='<br><hr>\n'
|
blogStr+='<br><hr>\n'
|
||||||
|
|
||||||
if not linkedAuthor:
|
|
||||||
blogStr+= \
|
|
||||||
'<p class="about"><a class="about" href="'+httpPrefix+'://'+domainFull+ \
|
|
||||||
'/users/'+nickname+'">'+translate['About the author']+'</a></p>\n'
|
|
||||||
return blogStr
|
return blogStr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue