mirror of https://gitlab.com/bashrc2/epicyon
Only show more if links exist
parent
a521713cae
commit
7d5b639d64
|
@ -98,10 +98,12 @@ def htmlAccountInfo(cssCache: {}, translate: {},
|
|||
url = blockedPostJson['object']['url']
|
||||
blockedPostsLinks += \
|
||||
'<a href="' + url + '">' + url + '</a><br>'
|
||||
blockedPostsHtml = \
|
||||
getContentWarningButton('blockNumber' + str(ctr),
|
||||
translate, blockedPostsLinks)
|
||||
ctr += 1
|
||||
blockedPostsHtml = ''
|
||||
if blockedPostsLinks:
|
||||
blockedPostsHtml = \
|
||||
getContentWarningButton('blockNumber' + str(ctr),
|
||||
translate, blockedPostsLinks)
|
||||
ctr += 1
|
||||
|
||||
infoForm += \
|
||||
'<a href="' + usersPath + '?unblockdomain=' + postDomain + \
|
||||
|
|
Loading…
Reference in New Issue