forked from indymedia/epicyon
More descriptive function name
parent
92e5576207
commit
eb6c220cec
|
@ -207,7 +207,7 @@ def getAvatarImageUrl(session,
|
||||||
return avatarUrl
|
return avatarUrl
|
||||||
|
|
||||||
|
|
||||||
def getAvatarLink(showAvatarOptions: bool,
|
def getAvatarImageHtml(showAvatarOptions: bool,
|
||||||
nickname: str, domainFull: str,
|
nickname: str, domainFull: str,
|
||||||
avatarUrl: str, postActor: str,
|
avatarUrl: str, postActor: str,
|
||||||
translate: {}, avatarPosition: str,
|
translate: {}, avatarPosition: str,
|
||||||
|
@ -375,11 +375,11 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||||
print('TIMING INDIV ' + boxName + ' 7 = ' + str(timeDiff))
|
print('TIMING INDIV ' + boxName + ' 7 = ' + str(timeDiff))
|
||||||
|
|
||||||
avatarLink = \
|
avatarLink = \
|
||||||
getAvatarLink(showAvatarOptions,
|
getAvatarImageHtml(showAvatarOptions,
|
||||||
nickname, domainFull,
|
nickname, domainFull,
|
||||||
avatarUrl, postActor,
|
avatarUrl, postActor,
|
||||||
translate, avatarPosition,
|
translate, avatarPosition,
|
||||||
pageNumber, messageIdStr)
|
pageNumber, messageIdStr)
|
||||||
|
|
||||||
avatarImageInPost = \
|
avatarImageInPost = \
|
||||||
' <div class="timeline-avatar">' + avatarLink + '</div>\n'
|
' <div class="timeline-avatar">' + avatarLink + '</div>\n'
|
||||||
|
|
Loading…
Reference in New Issue