Use label on date

merge-requests/30/head
Bob Mottram 2020-10-08 11:44:39 +01:00
parent dc49f05788
commit c362daba79
1 changed files with 4 additions and 2 deletions

View File

@ -5069,7 +5069,8 @@ def individualPostAsHtml(allowDownloads: bool,
footerStr = '<a href="' + publishedLink + \
'" class="' + timeClass + '">' + publishedStr + '</a>\n'
else:
footerStr = publishedStr + '\n'
footerStr = ' <label class="' + timeClass + '">' + \
publishedStr + '</label>\n'
# change the background color for DMs in inbox timeline
if showDMicon:
@ -5084,7 +5085,8 @@ def individualPostAsHtml(allowDownloads: bool,
footerStr += ' <a href="' + publishedLink + '" class="' + \
timeClass + '">' + publishedStr + '</a>\n'
else:
footerStr += publishedStr + '\n'
footerStr += ' <label class="' + timeClass + '">' + \
publishedStr + '</label>\n'
footerStr += ' </div>\n'
postIsSensitive = False