main
Bob Mottram 2020-10-26 20:44:33 +00:00
parent ded48e06c9
commit f30932d08c
1 changed files with 4 additions and 4 deletions

View File

@ -5660,10 +5660,10 @@ def htmlNewswire(newswire: {}, nickname: str, moderator: bool,
'/newswireunvote=' + dateStrLink + '" ' + \ '/newswireunvote=' + dateStrLink + '" ' + \
'title="' + translate['Remove Vote'] + '">' 'title="' + translate['Remove Vote'] + '">'
htmlStr += '<img loading="lazy" class="voteicon" src="/' + \ htmlStr += '<img loading="lazy" class="voteicon" src="/' + \
iconsDir + '/vote.png" /></a></p>' iconsDir + '/vote.png" /></a></p>\n'
else: else:
htmlStr += ' <span class="newswireDateVotedOn">' htmlStr += ' <span class="newswireDateVotedOn">'
htmlStr += dateShown + '</span></p>' htmlStr += dateShown + '</span></p>\n'
else: else:
totalVotesStr = '' totalVotesStr = ''
totalVotes = 0 totalVotes = 0
@ -5685,14 +5685,14 @@ def htmlNewswire(newswire: {}, nickname: str, moderator: bool,
'title="' + translate['Vote'] + '">' 'title="' + translate['Vote'] + '">'
htmlStr += '<img class="voteicon" src="/' + \ htmlStr += '<img class="voteicon" src="/' + \
iconsDir + '/vote.png" /></a>' iconsDir + '/vote.png" /></a>'
htmlStr += '</p>' htmlStr += '</p>\n'
else: else:
htmlStr += '<p class="newswireItem">' + \ htmlStr += '<p class="newswireItem">' + \
'<a href="' + item[1] + '">' + \ '<a href="' + item[1] + '">' + \
item[0] + '</a>' + \ item[0] + '</a>' + \
totalVotesStr totalVotesStr
htmlStr += ' <span class="newswireDate">' htmlStr += ' <span class="newswireDate">'
htmlStr += dateShown + '</span></p>' htmlStr += dateShown + '</span></p>\n'
return htmlStr return htmlStr