mirror of https://gitlab.com/bashrc2/epicyon
Switch label order
parent
83bfd0b40a
commit
92bac79367
|
@ -5349,10 +5349,11 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool) -> str:
|
||||||
'<a href="' + item[1] + '">' + item[0] + '</a>'
|
'<a href="' + item[1] + '">' + item[0] + '</a>'
|
||||||
if moderator:
|
if moderator:
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <label class="newswireDateApproved">' + \
|
' ' + \
|
||||||
'<a href="/users/' + nickname + \
|
'<a href="/users/' + nickname + \
|
||||||
'/newswireunvote=' + dateStr + '">'
|
'/newswireunvote=' + dateStr.replace(' ', 'T') + '">' + \
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</a></label></p>'
|
'<label class="newswireDateApproved">'
|
||||||
|
htmlStr += dateStr.replace('+00:00', '') + '</label></a></p>'
|
||||||
else:
|
else:
|
||||||
htmlStr += ' <label class="newswireDateApproved">'
|
htmlStr += ' <label class="newswireDateApproved">'
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</label></p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</label></p>'
|
||||||
|
@ -5361,10 +5362,11 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool) -> str:
|
||||||
'<a href="' + item[1] + '">' + item[0] + '</a>'
|
'<a href="' + item[1] + '">' + item[0] + '</a>'
|
||||||
if moderator:
|
if moderator:
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <label class="newswireDate">' + \
|
' ' + \
|
||||||
'<a href="/users/' + nickname + \
|
'<a href="/users/' + nickname + \
|
||||||
'/newswirevote=' + dateStr + '">'
|
'/newswirevote=' + dateStr.replace(' ', 'T') + '">' + \
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</a></label></p>'
|
'<label class="newswireDate">'
|
||||||
|
htmlStr += dateStr.replace('+00:00', '') + '</label></a></p>'
|
||||||
else:
|
else:
|
||||||
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