mirror of https://gitlab.com/bashrc2/epicyon
Construct likes string
parent
14102aede1
commit
69393c2d7d
|
@ -4232,12 +4232,13 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||||
if timeDiff > 100:
|
if timeDiff > 100:
|
||||||
print('TIMING INDIV ' + boxName + ' 12.2 = ' + str(timeDiff))
|
print('TIMING INDIV ' + boxName + ' 12.2 = ' + str(timeDiff))
|
||||||
|
|
||||||
|
likeStr = ''
|
||||||
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>\n'
|
likeStr += '</label>\n'
|
||||||
likeStr = \
|
likeStr += \
|
||||||
'<a class="imageAnchor" href="/users/' + nickname + '?' + \
|
'<a class="imageAnchor" href="/users/' + nickname + '?' + \
|
||||||
likeLink + '=' + postJsonObject['object']['id'] + \
|
likeLink + '=' + postJsonObject['object']['id'] + \
|
||||||
pageNumberParam + \
|
pageNumberParam + \
|
||||||
|
|
Loading…
Reference in New Issue