Better terminology

merge-requests/8/head
Bob Mottram 2020-10-08 18:18:13 +01:00
parent c5ecdaf5c3
commit b0839c4c32
2 changed files with 5 additions and 5 deletions

View File

@ -232,7 +232,7 @@ a:focus {
line-height: var(--line-spacing-newswire);
}
.newswireItemApproved {
.newswireItemVotedOn {
font-size: var(--font-size-newswire);
font-weight: bold;
color: var(--column-right-fg-color-approved);
@ -245,7 +245,7 @@ a:focus {
float: right;
}
.newswireDateApproved {
.newswireDateVotedOn {
font-size: var(--font-size-newswire);
font-weight: bold;
color: var(--newswire-date-color);

View File

@ -5407,7 +5407,7 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
totalVotesStr = \
votesIndicator(totalVotes, positiveVoting)
htmlStr += '<p class="newswireItemApproved">' + \
htmlStr += '<p class="newswireItemVotedOn">' + \
'<a href="' + item[1] + '">' + item[0] + '</a>' + \
totalVotesStr
if moderator:
@ -5416,10 +5416,10 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
'<a href="/users/' + nickname + \
'/newswireunvote=' + dateStrLink + '" ' + \
'title="' + translate['Remove Vote'] + '">' + \
'<label class="newswireDateApproved">'
'<label class="newswireDateVotedOn">'
htmlStr += dateStr.replace('+00:00', '') + '</label></a></p>'
else:
htmlStr += ' <label class="newswireDateApproved">'
htmlStr += ' <label class="newswireDateVotedOn">'
htmlStr += dateStr.replace('+00:00', '') + '</label></p>'
else:
totalVotesStr = ''