X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=csit.infra.dash%2Fapp%2Fpal%2Fnews%2Flayout.py;h=f21ea6802157a25ac1d06c258b0a5322f0b843ea;hp=e9ff4dc334cb01d8484f7eb3699953e6c9529832;hb=287fae853accd3782200c21a08345b7d88a936c8;hpb=59734b2f72358f6315cbfadc1b1a0ef56b7e23ec diff --git a/csit.infra.dash/app/pal/news/layout.py b/csit.infra.dash/app/pal/news/layout.py index e9ff4dc334..f21ea68021 100644 --- a/csit.infra.dash/app/pal/news/layout.py +++ b/csit.infra.dash/app/pal/news/layout.py @@ -230,7 +230,8 @@ class Layout: try: with open(self._html_layout_file, "r") as file_read: - self._html_layout = file_read.read() + self._html_layout = file_read.read().\ + replace("_title_", C.NEWS_TITLE) except IOError as err: raise RuntimeError( f"Not possible to open the file {self._html_layout_file}\n{err}" @@ -324,7 +325,7 @@ class Layout: children=[ dbc.NavItem( dbc.NavLink( - "Continuous Performance News", + C.NEWS_TITLE, disabled=True, external_link=True, href="#"