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:
|
||||
""" Returns the policy for follower approvals
|
||||
"""
|
||||
# has this handle already been manually approved?
|
||||
if preApprovedFollower(baseDir,nicknameToFollow,domainToFollow, \
|
||||
followRequestHandle):
|
||||
return False
|
||||
|
|
|
@ -2602,7 +2602,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
|||
publishedStr=publishedStr.replace('T',' ').split('.')[0]
|
||||
datetimeObject = parse(publishedStr)
|
||||
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
|
||||
if showDMicon:
|
||||
|
|
Loading…
Reference in New Issue