aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/pal/trending
diff options
context:
space:
mode:
Diffstat (limited to 'csit.infra.dash/app/pal/trending')
-rw-r--r--csit.infra.dash/app/pal/trending/layout.py5
1 files changed, 3 insertions, 2 deletions
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="#"