merge-requests/30/head
Bob Mottram 2021-03-05 15:59:39 +00:00
parent 2ac8945982
commit 2de18f89f2
2 changed files with 6 additions and 1 deletions

View File

@ -3250,6 +3250,9 @@ def _createBoxIndexed(recentPostsCache: {},
print('WARN: Unable to locate post ' + postUrl +
' nickname ' + nickname)
print('Posts added to timeline ' + boxname + ': ' +
str(postsAddedToTimeline))
# Generate first and last entries within header
if postsCtr > 0:
lastPage = int(postsCtr / itemsPerPage)

View File

@ -731,10 +731,12 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
itemCtr += 1
tlStr += textModeSeparator + currTlStr
if separatorStr:
tlStr += separatorStr
tlStr += separatorStr
if boxName == 'tlmedia':
tlStr += '</div>\n'
print('Items in timeline ' + boxName + ': ' + str(itemCtr))
# page down arrow
if itemCtr > 2:
tlStr += textModeSeparator