forked from indymedia/epicyon
Tidying
parent
42a3661d9e
commit
8f164638c0
|
@ -1083,16 +1083,15 @@ def getFooterWithIcons(showIcons: bool,
|
||||||
return None
|
return None
|
||||||
|
|
||||||
footerStr = '\n <div class="' + containerClassIcons + '">\n'
|
footerStr = '\n <div class="' + containerClassIcons + '">\n'
|
||||||
footerStr += replyStr + announceStr + likeStr + bookmarkStr + \
|
footerStr += replyStr + announceStr + likeStr + bookmarkStr
|
||||||
deleteStr + muteStr + editStr
|
footerStr += deleteStr + muteStr + editStr
|
||||||
if not isNewsPost(postJsonObject):
|
if not isNewsPost(postJsonObject):
|
||||||
footerStr += ' <a href="' + publishedLink + '" class="' + \
|
footerStr += ' <a href="' + publishedLink + '" class="' + \
|
||||||
timeClass + '">' + publishedStr + '</a>\n'
|
timeClass + '">' + publishedStr + '</a>\n'
|
||||||
else:
|
else:
|
||||||
footerStr += ' <a href="' + \
|
footerStr += ' <a href="' + \
|
||||||
publishedLink.replace('/news/', '/news/statuses/') + \
|
publishedLink.replace('/news/', '/news/statuses/') + \
|
||||||
'" class="' + \
|
'" class="' + timeClass + '">' + publishedStr + '</a>\n'
|
||||||
timeClass + '">' + publishedStr + '</a>\n'
|
|
||||||
footerStr += ' </div>\n'
|
footerStr += ' </div>\n'
|
||||||
return footerStr
|
return footerStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue