forked from indymedia/epicyon
Check if a post was liked by the viewer
parent
a4e8282028
commit
3ae0f98f7c
|
@ -1765,6 +1765,7 @@ def individualPostAsHtml(translate: {}, \
|
||||||
likeTitle=translate['Like this post']
|
likeTitle=translate['Like this post']
|
||||||
if noOfLikes(postJsonObject)>0:
|
if noOfLikes(postJsonObject)>0:
|
||||||
likeIcon='like.png'
|
likeIcon='like.png'
|
||||||
|
if likedByPerson(postJsonObject,nickname,fullDomain):
|
||||||
likeLink='unlike'
|
likeLink='unlike'
|
||||||
likeTitle=translate['Undo the like']
|
likeTitle=translate['Undo the like']
|
||||||
likeStr= \
|
likeStr= \
|
||||||
|
|
Loading…
Reference in New Issue