merge-requests/26/head
Bob Mottram 2021-10-15 10:02:18 +01:00
parent b490c0b791
commit bde8dadce0
1 changed files with 47 additions and 46 deletions

View File

@ -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'