Vote/block button

main
Bob Mottram 2020-10-09 15:30:52 +01:00
parent 804511bf32
commit d8a015d69a
1 changed files with 4 additions and 4 deletions

View File

@ -5406,12 +5406,12 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
'</span></a>' + totalVotesStr
if moderator:
htmlStr += \
' ' + \
' ' + dateStr.replace('+00:00', '') + \
'<a href="/users/' + nickname + \
'/newswireunvote=' + dateStrLink + '" ' + \
'title="' + translate['Remove Vote'] + '">' + \
'<span class="newswireDateVotedOn">'
htmlStr += dateStr.replace('+00:00', '') + '</span></a></p>'
'title="' + translate['Remove Vote'] + '">'
htmlStr += '<img class="voteicon" src="' + \
iconsDir + '/vote.png" /></a></p>'
else:
htmlStr += ' <span class="newswireDateVotedOn">'
htmlStr += dateStr.replace('+00:00', '') + '</span></p>'