main
Bob Mottram 2020-12-01 14:11:50 +00:00
parent 42a3661d9e
commit 8f164638c0
1 changed files with 3 additions and 4 deletions

View File

@ -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