From 180468477deff09db972b1c3fe456794de041ba0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 29 Nov 2020 09:38:35 +0000 Subject: [PATCH] Rename variable --- webapp_headerbuttons.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index 54590158..c936253c 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -82,11 +82,11 @@ def headerButtonsTimeline(defaultTimeline: str, translate['Inbox'] + '' # if this is a news instance and we are viewing the news timeline - newsHeader = False + featuresHeader = False if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures': - newsHeader = True + featuresHeader = True - if not newsHeader: + if not featuresHeader: tlStr += \ '' else: - if not newsHeader: + if not featuresHeader: tlStr += \ '' - if not newsHeader: + if not featuresHeader: # button for the outbox tlStr += \ '' + \ '' - if newsHeader: + if featuresHeader: tlStr += \ '' + \ '' - if not newsHeader: + if not featuresHeader: tlStr += followApprovals if not iconsAsButtons: