mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
e6be96c492
commit
38c1d68816
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue