mirror of https://gitlab.com/bashrc2/epicyon
Don't show block button for this domain
Moderators blocking their own domain would be sillymerge-requests/8/head
parent
7d5b639d64
commit
146d1413c3
|
@ -115,8 +115,10 @@ def htmlAccountInfo(cssCache: {}, translate: {},
|
||||||
infoForm += \
|
infoForm += \
|
||||||
'<a href="' + usersPath + '?blockdomain=' + postDomain + \
|
'<a href="' + usersPath + '?blockdomain=' + postDomain + \
|
||||||
'?handle=' + searchHandle + '">'
|
'?handle=' + searchHandle + '">'
|
||||||
|
if postDomain != domain:
|
||||||
infoForm += '<button class="button"><span>' + \
|
infoForm += '<button class="button"><span>' + \
|
||||||
translate['Block'] + '</span></button></a>'
|
translate['Block'] + '</span></button>'
|
||||||
|
infoForm += '</a>'
|
||||||
infoForm += '<br>'
|
infoForm += '<br>'
|
||||||
|
|
||||||
infoForm += '</div>'
|
infoForm += '</div>'
|
||||||
|
|
Loading…
Reference in New Issue