forked from indymedia/epicyon
Newswire item colors
parent
1a284f3567
commit
d60aad0659
|
@ -5427,8 +5427,9 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
|
||||||
|
|
||||||
if moderator and moderatedItem:
|
if moderator and moderatedItem:
|
||||||
htmlStr += '<p class="newswireItemModerated">' + \
|
htmlStr += '<p class="newswireItemModerated">' + \
|
||||||
'<a href="' + item[1] + '">' + item[0] + '</a>' + \
|
'<a href="' + item[1] + '">' + \
|
||||||
totalVotesStr
|
'<label class="newswireDateModerated">' + \
|
||||||
|
item[0] + '</label></a>' + totalVotesStr
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' ' + \
|
' ' + \
|
||||||
'<a href="/users/' + nickname + \
|
'<a href="/users/' + nickname + \
|
||||||
|
@ -5438,7 +5439,9 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</label></a></p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</label></a></p>'
|
||||||
else:
|
else:
|
||||||
htmlStr += '<p class="newswireItem">' + \
|
htmlStr += '<p class="newswireItem">' + \
|
||||||
'<a href="' + item[1] + '">' + item[0] + '</a>' + \
|
'<a href="' + item[1] + '">' + \
|
||||||
|
'<label class="newswireItem">' + \
|
||||||
|
item[0] + '</label></a>' + \
|
||||||
totalVotesStr
|
totalVotesStr
|
||||||
htmlStr += ' <label class="newswireDate">'
|
htmlStr += ' <label class="newswireDate">'
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</label></p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</label></p>'
|
||||||
|
|
Loading…
Reference in New Issue