mirror of https://gitlab.com/bashrc2/epicyon
Features timeline
parent
2091c44731
commit
bc026da06d
|
@ -512,6 +512,11 @@ 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
|
||||||
|
if boxName == 'tlfeatures':
|
||||||
|
timelineNickname = 'news'
|
||||||
|
|
||||||
# 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:
|
||||||
|
@ -567,7 +572,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
iconsPath, translate, pageNumber,
|
iconsPath, translate, pageNumber,
|
||||||
baseDir, session, wfRequest,
|
baseDir, session, wfRequest,
|
||||||
personCache,
|
personCache,
|
||||||
nickname, domain, port,
|
timelineNickname, domain, port,
|
||||||
item, None, True,
|
item, None, True,
|
||||||
allowDeletion,
|
allowDeletion,
|
||||||
httpPrefix, projectVersion,
|
httpPrefix, projectVersion,
|
||||||
|
@ -1025,7 +1030,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
|
||||||
recentPostsCache, maxRecentPosts,
|
recentPostsCache, maxRecentPosts,
|
||||||
translate, pageNumber,
|
translate, pageNumber,
|
||||||
itemsPerPage, session, baseDir, wfRequest, personCache,
|
itemsPerPage, session, baseDir, wfRequest, personCache,
|
||||||
'news', domain, port, inboxJson, 'tlfeatures',
|
nickname, domain, port, inboxJson, 'tlfeatures',
|
||||||
allowDeletion, httpPrefix, projectVersion, False,
|
allowDeletion, httpPrefix, projectVersion, False,
|
||||||
minimal, YTReplacementDomain,
|
minimal, YTReplacementDomain,
|
||||||
showPublishedDateOnly,
|
showPublishedDateOnly,
|
||||||
|
|
Loading…
Reference in New Issue