From 94f0e48072f6d1b780b3de0ce9ea7c4b484bee62 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Feb 2021 13:31:31 +0000 Subject: [PATCH] Show help on shares timeline --- webapp_timeline.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp_timeline.py b/webapp_timeline.py index a1f4e2fb0..cf0e17719 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -829,6 +829,7 @@ def _htmlSharesTimeline(translate: {}, pageNumber: int, itemsPerPage: int, ' \n' separatorStr = htmlPostSeparator(baseDir, None) + ctr = 0 for published, item in sharesJson.items(): showContactButton = False if item['actor'] != actor: @@ -840,6 +841,10 @@ def _htmlSharesTimeline(translate: {}, pageNumber: int, itemsPerPage: int, htmlIndividualShare(actor, item, translate, showContactButton, showRemoveButton) timelineStr += separatorStr + ctr += 1 + + if ctr == 0: + timelineStr += _getHelpForTimeline(baseDir, 'tlshares') if not lastPage: timelineStr += \