Page number variable created earlier

main
Bob Mottram 2019-11-28 12:11:54 +00:00
parent 0ff2f70547
commit 2acac9ccae
1 changed files with 4 additions and 4 deletions

View File

@ -2097,6 +2097,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if ':' not in domain: if ':' not in domain:
fullDomain=domain+':'+str(port) fullDomain=domain+':'+str(port)
pageNumberParam=''
if pageNumber:
pageNumberParam='?page='+str(pageNumber)
announceStr='' announceStr=''
if not isModerationPost and showRepeatIcon: if not isModerationPost and showRepeatIcon:
# don't allow announce/repeat of your own posts # don't allow announce/repeat of your own posts
@ -2369,10 +2373,6 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
publishedStr=datetimeObject.strftime("%a %b %d, %H:%M") publishedStr=datetimeObject.strftime("%a %b %d, %H:%M")
footerStr='<span class="'+timeClass+'">'+publishedStr+'</span>\n' footerStr='<span class="'+timeClass+'">'+publishedStr+'</span>\n'
pageNumberParam=''
if pageNumber:
pageNumberParam='?page='+str(pageNumber)
# change the background color for DMs in inbox timeline # change the background color for DMs in inbox timeline
if showDMicon: if showDMicon:
containerClassIcons='containericons dm' containerClassIcons='containericons dm'