forked from indymedia/epicyon
span instead of label
parent
19a420f758
commit
4dbbb3a9fa
|
@ -5400,19 +5400,19 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
|
||||||
|
|
||||||
htmlStr += '<p class="newswireItemVotedOn">' + \
|
htmlStr += '<p class="newswireItemVotedOn">' + \
|
||||||
'<a href="' + item[1] + '">' + \
|
'<a href="' + item[1] + '">' + \
|
||||||
'<label class="newswireItemVotedOn">' + item[0] + \
|
'<span class="newswireItemVotedOn">' + item[0] + \
|
||||||
'</label></a>' + totalVotesStr
|
'</span></a>' + totalVotesStr
|
||||||
if moderator:
|
if moderator:
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' ' + \
|
' ' + \
|
||||||
'<a href="/users/' + nickname + \
|
'<a href="/users/' + nickname + \
|
||||||
'/newswireunvote=' + dateStrLink + '" ' + \
|
'/newswireunvote=' + dateStrLink + '" ' + \
|
||||||
'title="' + translate['Remove Vote'] + '">' + \
|
'title="' + translate['Remove Vote'] + '">' + \
|
||||||
'<label class="newswireDateVotedOn">'
|
'<span class="newswireDateVotedOn">'
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</label></a></p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</span></a></p>'
|
||||||
else:
|
else:
|
||||||
htmlStr += ' <label class="newswireDateVotedOn">'
|
htmlStr += ' <span class="newswireDateVotedOn">'
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</label></p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</span></p>'
|
||||||
else:
|
else:
|
||||||
totalVotesStr = ''
|
totalVotesStr = ''
|
||||||
totalVotes = 0
|
totalVotes = 0
|
||||||
|
@ -5429,23 +5429,23 @@ 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] + '">' + \
|
'<a href="' + item[1] + '">' + \
|
||||||
'<label class="newswireDateModerated">' + \
|
'<span class="newswireDateModerated">' + \
|
||||||
item[0] + '</label></a>' + totalVotesStr
|
item[0] + '</span></a>' + totalVotesStr
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' ' + \
|
' ' + \
|
||||||
'<a href="/users/' + nickname + \
|
'<a href="/users/' + nickname + \
|
||||||
'/newswirevote=' + dateStrLink + '" ' + \
|
'/newswirevote=' + dateStrLink + '" ' + \
|
||||||
'title="' + translate['Vote'] + '">' + \
|
'title="' + translate['Vote'] + '">' + \
|
||||||
'<label class="newswireDateModerated">'
|
'<span class="newswireDateModerated">'
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</label></a></p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</span></a></p>'
|
||||||
else:
|
else:
|
||||||
htmlStr += '<p class="newswireItem">' + \
|
htmlStr += '<p class="newswireItem">' + \
|
||||||
'<a href="' + item[1] + '">' + \
|
'<a href="' + item[1] + '">' + \
|
||||||
'<label class="newswireItem">' + \
|
'<span class="newswireItem">' + \
|
||||||
item[0] + '</label></a>' + \
|
item[0] + '</span></a>' + \
|
||||||
totalVotesStr
|
totalVotesStr
|
||||||
htmlStr += ' <label class="newswireDate">'
|
htmlStr += ' <span class="newswireDate">'
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</label></p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</span></p>'
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue