X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=csit.infra.dash%2Fapp%2Fpal%2Ftrending%2Flayout.py;h=eea9042b3ef7fcdfecec6b8323880efbf6b47987;hb=refs%2Fchanges%2F44%2F37344%2F2;hp=9b1965f937c51faa513f87f3476ca266d776b8b4;hpb=59734b2f72358f6315cbfadc1b1a0ef56b7e23ec;p=csit.git diff --git a/csit.infra.dash/app/pal/trending/layout.py b/csit.infra.dash/app/pal/trending/layout.py index 9b1965f937..eea9042b3e 100644 --- a/csit.infra.dash/app/pal/trending/layout.py +++ b/csit.infra.dash/app/pal/trending/layout.py @@ -165,7 +165,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.TREND_TITLE) except IOError as err: raise RuntimeError( f"Not possible to open the file {self._html_layout_file}\n{err}" @@ -298,7 +299,7 @@ class Layout: children=[ dbc.NavItem( dbc.NavLink( - "Continuous Performance Trending", + C.TREND_TITLE, disabled=True, external_link=True, href="#"