From 50ea25d767721ab850392df9e6be7749e458c009 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 14 Nov 2019 17:44:10 +0000 Subject: [PATCH] Include actor in links --- webinterface.py | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/webinterface.py b/webinterface.py index d7fd7cf7..6f2b5a07 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2190,7 +2190,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ announceIcon='repeat.png' announceLink='unrepeat' announceTitle=translate['Undo the repeat'] - announceStr='' + announceStr= \ + '' announceStr+='' likeStr='' @@ -2203,7 +2206,11 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if likedByPerson(postJsonObject,nickname,fullDomain): likeLink='unlike' likeTitle=translate['Undo the like'] - likeStr='' + likeStr= \ + '' likeStr+='' deleteStr='' @@ -2236,11 +2243,20 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ footerStr='
' if not isModerationPost and showRepeatIcon: if not manuallyApprovesFollowers: - footerStr+='' + footerStr+= \ + '' else: - footerStr+='' + footerStr+= \ + '' else: - footerStr+='' + footerStr+= \ + '' footerStr+='' footerStr+=announceStr+likeStr+deleteStr footerStr+=''+publishedStr+''