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:
|
maxLikeCount: int) -> str:
|
||||||
"""Returns html for like icon/button
|
"""Returns html for like icon/button
|
||||||
"""
|
"""
|
||||||
|
if not showLikeButton or isModerationPost:
|
||||||
|
return ''
|
||||||
likeStr = ''
|
likeStr = ''
|
||||||
if not isModerationPost and showLikeButton:
|
|
||||||
likeIcon = 'like_inactive.png'
|
likeIcon = 'like_inactive.png'
|
||||||
likeLink = 'like'
|
likeLink = 'like'
|
||||||
likeTitle = 'Like this post'
|
likeTitle = 'Like this post'
|
||||||
|
|
Loading…
Reference in New Issue