merge-requests/30/head
Bob Mottram 2021-05-07 13:42:01 +01:00
parent e6be96c492
commit 38c1d68816
1 changed files with 33 additions and 27 deletions

View File

@ -396,7 +396,13 @@ def _getAnnounceIconHtml(nickname: str, domainFull: str,
"""Returns html for announce icon/button """Returns html for announce icon/button
""" """
announceStr = '' announceStr = ''
if not isModerationPost and showRepeatIcon:
if not showRepeatIcon:
return announceStr
if isModerationPost:
return announceStr
# don't allow announce/repeat of your own posts # don't allow announce/repeat of your own posts
announceIcon = 'repeat_inactive.png' announceIcon = 'repeat_inactive.png'
announceLink = 'repeat' announceLink = 'repeat'