alt-html-css
Bob Mottram 2020-12-13 12:48:04 +00:00
parent 7905c9b35d
commit e4c34ec6ad
1 changed files with 3 additions and 0 deletions

View File

@ -742,11 +742,13 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str,
' </center>\n' ' </center>\n'
for followingActor in followingJson['orderedItems']: for followingActor in followingJson['orderedItems']:
# is this a dormant followed account?
dormant = False dormant = False
if authorized and feedName == 'following': if authorized and feedName == 'following':
dormant = \ dormant = \
isDormant(baseDir, nickname, domain, followingActor, isDormant(baseDir, nickname, domain, followingActor,
dormantMonths) dormantMonths)
profileStr += \ profileStr += \
individualFollowAsHtml(translate, baseDir, session, individualFollowAsHtml(translate, baseDir, session,
wfRequest, personCache, wfRequest, personCache,
@ -754,6 +756,7 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str,
authorized, nickname, authorized, nickname,
httpPrefix, projectVersion, dormant, httpPrefix, projectVersion, dormant,
buttons) buttons)
if authorized and maxItemsPerPage and pageNumber: if authorized and maxItemsPerPage and pageNumber:
if len(followingJson['orderedItems']) >= maxItemsPerPage: if len(followingJson['orderedItems']) >= maxItemsPerPage:
# page down arrow # page down arrow