mirror of https://gitlab.com/bashrc2/epicyon
Show published link on news posts
parent
ea85cf4a9e
commit
28ddaa58d1
|
@ -5166,12 +5166,8 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||||
domain + ':' + str(port) + '/users/' in publishedLink:
|
domain + ':' + str(port) + '/users/' in publishedLink:
|
||||||
publishedLink = '/users/' + publishedLink.split('/users/')[1]
|
publishedLink = '/users/' + publishedLink.split('/users/')[1]
|
||||||
|
|
||||||
if not isNewsPost(postJsonObject):
|
footerStr = '<a href="' + publishedLink + \
|
||||||
footerStr = '<a href="' + publishedLink + \
|
'" class="' + timeClass + '">' + publishedStr + '</a>\n'
|
||||||
'" class="' + timeClass + '">' + publishedStr + '</a>\n'
|
|
||||||
else:
|
|
||||||
footerStr = ' <label class="' + timeClass + '">' + \
|
|
||||||
publishedStr + '</label>\n'
|
|
||||||
|
|
||||||
# change the background color for DMs in inbox timeline
|
# change the background color for DMs in inbox timeline
|
||||||
if showDMicon:
|
if showDMicon:
|
||||||
|
@ -5182,12 +5178,8 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||||
footerStr = '\n <div class="' + containerClassIcons + '">\n'
|
footerStr = '\n <div class="' + containerClassIcons + '">\n'
|
||||||
footerStr += replyStr + announceStr + likeStr + bookmarkStr + \
|
footerStr += replyStr + announceStr + likeStr + bookmarkStr + \
|
||||||
deleteStr + muteStr + editStr
|
deleteStr + muteStr + editStr
|
||||||
if not isNewsPost(postJsonObject):
|
footerStr += ' <a href="' + publishedLink + '" class="' + \
|
||||||
footerStr += ' <a href="' + publishedLink + '" class="' + \
|
timeClass + '">' + publishedStr + '</a>\n'
|
||||||
timeClass + '">' + publishedStr + '</a>\n'
|
|
||||||
else:
|
|
||||||
footerStr += ' <label class="' + timeClass + '">' + \
|
|
||||||
publishedStr + '</label>\n'
|
|
||||||
footerStr += ' </div>\n'
|
footerStr += ' </div>\n'
|
||||||
|
|
||||||
postIsSensitive = False
|
postIsSensitive = False
|
||||||
|
|
Loading…
Reference in New Issue