forked from indymedia/epicyon
Page number variable created earlier
parent
0ff2f70547
commit
2acac9ccae
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue