mirror of https://gitlab.com/bashrc2/epicyon
Preceding line breaks
parent
b5349762b4
commit
f289ca3f63
2
posts.py
2
posts.py
|
@ -3461,8 +3461,6 @@ def getPublicPostInfo(session, baseDir: str, nickname: str, domain: str,
|
|||
projectVersion, httpPrefix,
|
||||
domain)
|
||||
for blockedDomain, postUrlList in blockedPosts.items():
|
||||
if not domainsInfo.get(blockedDomain):
|
||||
continue
|
||||
domainsInfo[blockedDomain] += postUrlList
|
||||
|
||||
return domainsInfo
|
||||
|
|
|
@ -92,9 +92,13 @@ def htmlAccountInfo(cssCache: {}, translate: {},
|
|||
httpPrefix + '://' + postDomain + '">' + postDomain + '</a> '
|
||||
if isBlockedDomain(baseDir, postDomain):
|
||||
blockedPostsLinks = ''
|
||||
urlCtr = 0
|
||||
for url in blockedPostUrls:
|
||||
if urlCtr > 0:
|
||||
blockedPostsLinks += '<br>'
|
||||
blockedPostsLinks += \
|
||||
'<a href="' + url + '">' + url + '</a><br>'
|
||||
'<a href="' + url + '">' + url + '</a>'
|
||||
urlCtr += 1
|
||||
blockedPostsHtml = ''
|
||||
if blockedPostsLinks:
|
||||
blockedPostsHtml = \
|
||||
|
|
Loading…
Reference in New Issue