From 4d095b586bc4e249ab4e30e1a3f17b310f52a229 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 5 Oct 2022 06:50:07 +0200 Subject: C-Dash: Improved improvements in layout Signed-off-by: Tibor Frank Change-Id: I50c16f3b5c8e71be6b38d97e9968d8538a1b5264 --- csit.infra.dash/app/pal/news/layout.py | 2 +- csit.infra.dash/app/pal/news/news.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'csit.infra.dash/app/pal/news') diff --git a/csit.infra.dash/app/pal/news/layout.py b/csit.infra.dash/app/pal/news/layout.py index e9ff4dc334..dfe6eba67a 100644 --- a/csit.infra.dash/app/pal/news/layout.py +++ b/csit.infra.dash/app/pal/news/layout.py @@ -324,7 +324,7 @@ class Layout: children=[ dbc.NavItem( dbc.NavLink( - "Continuous Performance News", + C.NEWS_TITLE, disabled=True, external_link=True, href="#" diff --git a/csit.infra.dash/app/pal/news/news.py b/csit.infra.dash/app/pal/news/news.py index a0d05f1483..aa8cd5fbdc 100644 --- a/csit.infra.dash/app/pal/news/news.py +++ b/csit.infra.dash/app/pal/news/news.py @@ -31,7 +31,8 @@ def init_news(server): dash_app = dash.Dash( server=server, routes_pathname_prefix=C.NEWS_ROUTES_PATHNAME_PREFIX, - external_stylesheets=C.EXTERNAL_STYLESHEETS + external_stylesheets=C.EXTERNAL_STYLESHEETS, + title=C.NEWS_TITLE ) layout = Layout( -- cgit 1.2.3-korg