Better terminology

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

View File

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