From cfdc912aff0db285172c96b2624a44f48a50cb8c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 5 Feb 2021 20:24:48 +0000 Subject: [PATCH] Highlight new shares in text mode --- webapp_timeline.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index e8534ba15..cecac724e 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -375,6 +375,9 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, repliesStr = translate['Replies'] if newReply: repliesStr = '*' + repliesStr + '*' + sharesStr = translate['Shares'] + if newShare: + sharesStr = '*' + sharesStr + '*' navLinks = { translate['Switch to profile view']: '/users/' + nickname, translate['Inbox']: usersPath + '/inbox#timeline', @@ -385,7 +388,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, repliesStr: usersPath + '/tlreplies#timeline', translate['Outbox']: usersPath + '/inbox#timeline', translate['Bookmarks']: usersPath + '/tlbookmarks#timeline', - translate['Shares']: usersPath + '/tlshares#timeline', + sharesStr: usersPath + '/tlshares#timeline', translate['Blogs']: usersPath + '/tlblogs#timeline', translate['Events']: usersPath + '/tlevents#timeline', translate['Skip to Newswire']: '#newswire',