diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index af09543d..1af73d91 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -21,6 +21,7 @@ def headerButtonsTimeline(defaultTimeline: str, usersPath: str, mediaButton: str, blogsButton: str, + featuresButton: str, newsButton: str, inboxButton: str, dmButton: str, @@ -71,7 +72,7 @@ def headerButtonsTimeline(defaultTimeline: str, tlStr += \ '' else: tlStr += \ diff --git a/webapp_timeline.py b/webapp_timeline.py index 2d34c229..60c3def8 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -135,6 +135,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, # the appearance of buttons - highlighted or not inboxButton = 'button' blogsButton = 'button' + featuresButton = 'button' newsButton = 'button' dmButton = 'button' if newDM: @@ -156,6 +157,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, inboxButton = 'buttonselected' elif boxName == 'tlblogs': blogsButton = 'buttonselected' + elif boxName == 'tlfeatures': + featuresButton = 'buttonselected' elif boxName == 'tlnews': newsButton = 'buttonselected' elif boxName == 'dm': @@ -374,7 +377,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, tlStr += \ headerButtonsTimeline(defaultTimeline, boxName, pageNumber, translate, usersPath, mediaButton, - blogsButton, newsButton, inboxButton, + blogsButton, featuresButton, + newsButton, inboxButton, dmButton, newDM, repliesButton, newReply, minimal, sentButton, sharesButtonStr, bookmarksButtonStr, @@ -415,7 +419,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, tlStr += \ headerButtonsTimeline(defaultTimeline, boxName, pageNumber, translate, usersPath, mediaButton, - blogsButton, newsButton, inboxButton, + blogsButton, featuresButton, + newsButton, inboxButton, dmButton, newDM, repliesButton, newReply, minimal, sentButton, sharesButtonStr, bookmarksButtonStr,