Create features posts for the current user

main
Bob Mottram 2020-11-28 14:04:05 +00:00
parent 16f4e7a312
commit 7d607a144e
1 changed files with 2 additions and 10 deletions

View File

@ -512,14 +512,6 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# show the posts # show the posts
itemCtr = 0 itemCtr = 0
if timelineJson: if timelineJson:
# if this is the features timeline then use the news actor
timelineNickname = nickname
timelineBoxName = boxName
if boxName == 'tlfeatures':
# use the blog timeline of the news actor
timelineNickname = 'news'
timelineBoxName = 'tlblogs'
# if this is the media timeline then add an extra gallery container # if this is the media timeline then add an extra gallery container
if boxName == 'tlmedia': if boxName == 'tlmedia':
if pageNumber > 1: if pageNumber > 1:
@ -575,11 +567,11 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
iconsPath, translate, pageNumber, iconsPath, translate, pageNumber,
baseDir, session, wfRequest, baseDir, session, wfRequest,
personCache, personCache,
timelineNickname, domain, port, nickname, domain, port,
item, None, True, item, None, True,
allowDeletion, allowDeletion,
httpPrefix, projectVersion, httpPrefix, projectVersion,
timelineBoxName, boxName,
YTReplacementDomain, YTReplacementDomain,
showPublishedDateOnly, showPublishedDateOnly,
boxName != 'dm', boxName != 'dm',