mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
b490c0b791
commit
bde8dadce0
|
@ -508,8 +508,9 @@ def _getLikeIconHtml(nickname: str, domainFull: str,
|
|||
maxLikeCount: int) -> str:
|
||||
"""Returns html for like icon/button
|
||||
"""
|
||||
if not showLikeButton or isModerationPost:
|
||||
return ''
|
||||
likeStr = ''
|
||||
if not isModerationPost and showLikeButton:
|
||||
likeIcon = 'like_inactive.png'
|
||||
likeLink = 'like'
|
||||
likeTitle = 'Like this post'
|
||||
|
|
Loading…
Reference in New Issue