forked from indymedia/epicyon
Reduce indentation
parent
963f8dc696
commit
a84e060f5e
|
@ -646,8 +646,7 @@ def getBlogCitationsHtml(boxName: str,
|
|||
'<cite>' + tagJson['name'] + '</cite></a></li>\n'
|
||||
|
||||
if citationsStr:
|
||||
citationsStr = '<p><b>' + translate['Citations'] + \
|
||||
':</b></p>' + \
|
||||
citationsStr = '<p><b>' + translate['Citations'] + ':</b></p>' + \
|
||||
'<ul>\n' + citationsStr + '</ul>\n'
|
||||
return citationsStr
|
||||
|
||||
|
@ -676,7 +675,10 @@ def getPostTitleHtml(baseDir: str,
|
|||
"""
|
||||
titleStr = ''
|
||||
replyAvatarImageInPost = ''
|
||||
if showRepeatIcon:
|
||||
if not showRepeatIcon:
|
||||
return (titleStr, replyAvatarImageInPost,
|
||||
containerClassIcons, containerClass)
|
||||
|
||||
if isAnnounced:
|
||||
if postJsonObject['object'].get('attributedTo'):
|
||||
attributedTo = ''
|
||||
|
|
Loading…
Reference in New Issue