Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-Dash: Improvements in layout
[csit.git]
/
csit.infra.dash
/
app
/
pal
/
report
/
layout.py
diff --git
a/csit.infra.dash/app/pal/report/layout.py
b/csit.infra.dash/app/pal/report/layout.py
index
9397870
..
143e56b
100644
(file)
--- 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:
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}"
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(
children=[
dbc.NavItem(
dbc.NavLink(
-
"Iterative Test Runs"
,
+
C.REPORT_TITLE
,
disabled=True,
external_link=True,
href="#"
disabled=True,
external_link=True,
href="#"