forked from indymedia/epicyon
Timestamp links to post
parent
a5dffaa5f7
commit
a82a12418e
|
@ -348,6 +348,7 @@ def followApprovalRequired(baseDir: str,nicknameToFollow: str, \
|
||||||
followRequestHandle: str) -> bool:
|
followRequestHandle: str) -> bool:
|
||||||
""" Returns the policy for follower approvals
|
""" Returns the policy for follower approvals
|
||||||
"""
|
"""
|
||||||
|
# has this handle already been manually approved?
|
||||||
if preApprovedFollower(baseDir,nicknameToFollow,domainToFollow, \
|
if preApprovedFollower(baseDir,nicknameToFollow,domainToFollow, \
|
||||||
followRequestHandle):
|
followRequestHandle):
|
||||||
return False
|
return False
|
||||||
|
|
|
@ -2602,7 +2602,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
publishedStr=publishedStr.replace('T',' ').split('.')[0]
|
publishedStr=publishedStr.replace('T',' ').split('.')[0]
|
||||||
datetimeObject = parse(publishedStr)
|
datetimeObject = parse(publishedStr)
|
||||||
publishedStr=datetimeObject.strftime("%a %b %d, %H:%M")
|
publishedStr=datetimeObject.strftime("%a %b %d, %H:%M")
|
||||||
footerStr='<span class="'+timeClass+'">'+publishedStr+'</span>\n'
|
footerStr='<a href="'+messageId+'" class="'+timeClass+'">'+publishedStr+'</a>\n'
|
||||||
|
|
||||||
# change the background color for DMs in inbox timeline
|
# change the background color for DMs in inbox timeline
|
||||||
if showDMicon:
|
if showDMicon:
|
||||||
|
|
Loading…
Reference in New Issue