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'
|
'<cite>' + tagJson['name'] + '</cite></a></li>\n'
|
||||||
|
|
||||||
if citationsStr:
|
if citationsStr:
|
||||||
citationsStr = '<p><b>' + translate['Citations'] + \
|
citationsStr = '<p><b>' + translate['Citations'] + ':</b></p>' + \
|
||||||
':</b></p>' + \
|
|
||||||
'<ul>\n' + citationsStr + '</ul>\n'
|
'<ul>\n' + citationsStr + '</ul>\n'
|
||||||
return citationsStr
|
return citationsStr
|
||||||
|
|
||||||
|
@ -676,7 +675,10 @@ def getPostTitleHtml(baseDir: str,
|
||||||
"""
|
"""
|
||||||
titleStr = ''
|
titleStr = ''
|
||||||
replyAvatarImageInPost = ''
|
replyAvatarImageInPost = ''
|
||||||
if showRepeatIcon:
|
if not showRepeatIcon:
|
||||||
|
return (titleStr, replyAvatarImageInPost,
|
||||||
|
containerClassIcons, containerClass)
|
||||||
|
|
||||||
if isAnnounced:
|
if isAnnounced:
|
||||||
if postJsonObject['object'].get('attributedTo'):
|
if postJsonObject['object'].get('attributedTo'):
|
||||||
attributedTo = ''
|
attributedTo = ''
|
||||||
|
|
Loading…
Reference in New Issue