mirror of https://gitlab.com/bashrc2/epicyon
Test without repeat
parent
0286294931
commit
717411fe7b
|
@ -827,6 +827,7 @@ def _getPostTitleAnnounceHtml(baseDir: str,
|
||||||
|
|
||||||
if not announceAvatarUrl:
|
if not announceAvatarUrl:
|
||||||
announceAvatarUrl = ''
|
announceAvatarUrl = ''
|
||||||
|
|
||||||
idx = 'Show options for this person'
|
idx = 'Show options for this person'
|
||||||
if '/users/news/' not in announceAvatarUrl:
|
if '/users/news/' not in announceAvatarUrl:
|
||||||
replyAvatarImageInPost = \
|
replyAvatarImageInPost = \
|
||||||
|
@ -835,10 +836,8 @@ def _getPostTitleAnnounceHtml(baseDir: str,
|
||||||
'href="/users/' + nickname + '?options=' + \
|
'href="/users/' + nickname + '?options=' + \
|
||||||
announceActor + ';' + str(pageNumber) + \
|
announceActor + ';' + str(pageNumber) + \
|
||||||
';' + announceAvatarUrl + messageIdStr + '">' \
|
';' + announceAvatarUrl + messageIdStr + '">' \
|
||||||
'<img loading="lazy" src="' + \
|
'<img loading="lazy" src="' + announceAvatarUrl + '" ' + \
|
||||||
announceAvatarUrl + '" ' + \
|
'title="' + translate[idx] + '" alt=" "' + avatarPosition + \
|
||||||
'title="' + translate[idx] + \
|
|
||||||
'" alt=" "' + avatarPosition + \
|
|
||||||
getBrokenLinkSubstitute() + '/></a>\n </div>\n'
|
getBrokenLinkSubstitute() + '/></a>\n </div>\n'
|
||||||
|
|
||||||
return (titleStr, replyAvatarImageInPost,
|
return (titleStr, replyAvatarImageInPost,
|
||||||
|
@ -1046,9 +1045,9 @@ def _getPostTitleHtml(baseDir: str,
|
||||||
"""
|
"""
|
||||||
titleStr = ''
|
titleStr = ''
|
||||||
replyAvatarImageInPost = ''
|
replyAvatarImageInPost = ''
|
||||||
if not showRepeatIcon:
|
# if not showRepeatIcon:
|
||||||
return (titleStr, replyAvatarImageInPost,
|
# return (titleStr, replyAvatarImageInPost,
|
||||||
containerClassIcons, containerClass)
|
# containerClassIcons, containerClass)
|
||||||
|
|
||||||
if isAnnounced:
|
if isAnnounced:
|
||||||
return _getPostTitleAnnounceHtml(baseDir,
|
return _getPostTitleAnnounceHtml(baseDir,
|
||||||
|
|
Loading…
Reference in New Issue