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