From 28ddaa58d12b534e2cdcdbd0fd5eaf6dbe4dadfb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Oct 2020 12:24:30 +0100 Subject: [PATCH] Show published link on news posts --- webinterface.py | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/webinterface.py b/webinterface.py index d0389ddf..ed07660e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5166,12 +5166,8 @@ def individualPostAsHtml(allowDownloads: bool, domain + ':' + str(port) + '/users/' in publishedLink: publishedLink = '/users/' + publishedLink.split('/users/')[1] - if not isNewsPost(postJsonObject): - footerStr = '' + publishedStr + '\n' - else: - footerStr = ' \n' + footerStr = '' + publishedStr + '\n' # change the background color for DMs in inbox timeline if showDMicon: @@ -5182,12 +5178,8 @@ def individualPostAsHtml(allowDownloads: bool, footerStr = '\n
\n' footerStr += replyStr + announceStr + likeStr + bookmarkStr + \ deleteStr + muteStr + editStr - if not isNewsPost(postJsonObject): - footerStr += ' ' + publishedStr + '\n' - else: - footerStr += ' \n' + footerStr += ' ' + publishedStr + '\n' footerStr += '
\n' postIsSensitive = False