forked from indymedia/epicyon
Label after link
parent
4763226f70
commit
991c84ccab
|
@ -4243,13 +4243,12 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||||
likeStr += \
|
likeStr += \
|
||||||
'<img loading="lazy" title="' + likeTitle + likeCountStr + \
|
'<img loading="lazy" title="' + likeTitle + likeCountStr + \
|
||||||
'" alt="' + likeTitle + \
|
'" alt="' + likeTitle + \
|
||||||
' |" src="/' + iconsDir + '/' + likeIcon + '"/>'
|
' |" src="/' + iconsDir + '/' + likeIcon + '"/></a>\n'
|
||||||
if likeCountStr:
|
if likeCountStr:
|
||||||
# show the number of likes next to icon
|
# show the number of likes next to icon
|
||||||
likeStr += '<label class="likesCount">'
|
likeStr += '<label class="likesCount">'
|
||||||
likeStr += likeCountStr.replace('(', '').replace(')', '').strip()
|
likeStr += likeCountStr.replace('(', '').replace(')', '').strip()
|
||||||
likeStr += '</label>'
|
likeStr += '</label>\n'
|
||||||
likeStr += '</a>\n'
|
|
||||||
|
|
||||||
# benchmark 12.5
|
# benchmark 12.5
|
||||||
if not allowDownloads:
|
if not allowDownloads:
|
||||||
|
|
Loading…
Reference in New Issue