aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/pal/report/layout.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-10-04 13:43:10 +0200
committerTibor Frank <tifrank@cisco.com>2022-10-04 14:19:50 +0200
commit287fae853accd3782200c21a08345b7d88a936c8 (patch)
tree80be091068c2fb17d38071124c5542fcab114ab5 /csit.infra.dash/app/pal/report/layout.py
parent59734b2f72358f6315cbfadc1b1a0ef56b7e23ec (diff)
CSIT-Dash: Improvements in layout
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: Idf043551122ceb54af08f161d0c4f3ab736156dd
Diffstat (limited to 'csit.infra.dash/app/pal/report/layout.py')
-rw-r--r--csit.infra.dash/app/pal/report/layout.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/csit.infra.dash/app/pal/report/layout.py b/csit.infra.dash/app/pal/report/layout.py
index 9397870e5e..143e56bbff 100644
--- a/csit.infra.dash/app/pal/report/layout.py
+++ b/csit.infra.dash/app/pal/report/layout.py
@@ -162,7 +162,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.REPORT_TITLE)
except IOError as err:
raise RuntimeError(
f"Not possible to open the file {self._html_layout_file}\n{err}"
@@ -291,7 +292,7 @@ class Layout:
children=[
dbc.NavItem(
dbc.NavLink(
- "Iterative Test Runs",
+ C.REPORT_TITLE,
disabled=True,
external_link=True,
href="#"