Line at top of newswire item

merge-requests/8/head
Bob Mottram 2020-11-06 20:59:56 +00:00
parent 43ea6d974d
commit ee6e6b0a12
1 changed files with 1 additions and 1 deletions

View File

@ -5849,6 +5849,7 @@ def htmlNewswire(newswire: {}, nickname: str, moderator: bool,
dateStrLink = dateStr.replace('T', ' ') dateStrLink = dateStr.replace('T', ' ')
dateStrLink = dateStrLink.replace('Z', '') dateStrLink = dateStrLink.replace('Z', '')
moderatedItem = item[5] moderatedItem = item[5]
htmlStr += '<hr class="linksLine">\n'
if moderatedItem and 'vote:' + nickname in item[2]: if moderatedItem and 'vote:' + nickname in item[2]:
totalVotesStr = '' totalVotesStr = ''
totalVotes = 0 totalVotes = 0
@ -5902,7 +5903,6 @@ def htmlNewswire(newswire: {}, nickname: str, moderator: bool,
totalVotesStr totalVotesStr
htmlStr += ' <span class="newswireDate">' htmlStr += ' <span class="newswireDate">'
htmlStr += dateShown + '</span></p>\n' htmlStr += dateShown + '</span></p>\n'
htmlStr += '<br><hr class="linksLine">\n'
return htmlStr return htmlStr