aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/pal/news/layout.py
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2022-10-04 13:30:38 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-10-04 13:30:57 +0000
commit745e0d046ebae1e72fb9bf73e32ae9ede11e3239 (patch)
tree004e46605bcd2e91a5139eef725e3fdacf621f77 /csit.infra.dash/app/pal/news/layout.py
parent2f87683cf1e9feaac810a632aba78a9689d9224b (diff)
Revert "CSIT-Dash: Improvements in layout"
This reverts commit 287fae853accd3782200c21a08345b7d88a936c8. Reason for revert: <INSERT REASONING HERE> Change-Id: I51079c479b4d47343a2eff4366f0c2019ab4626d Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/pal/news/layout.py')
-rw-r--r--csit.infra.dash/app/pal/news/layout.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/csit.infra.dash/app/pal/news/layout.py b/csit.infra.dash/app/pal/news/layout.py
index f21ea68021..e9ff4dc334 100644
--- a/csit.infra.dash/app/pal/news/layout.py
+++ b/csit.infra.dash/app/pal/news/layout.py
@@ -230,8 +230,7 @@ class Layout:
try:
with open(self._html_layout_file, "r") as file_read:
- self._html_layout = file_read.read().\
- replace("_title_", C.NEWS_TITLE)
+ self._html_layout = file_read.read()
except IOError as err:
raise RuntimeError(
f"Not possible to open the file {self._html_layout_file}\n{err}"
@@ -325,7 +324,7 @@ class Layout:
children=[
dbc.NavItem(
dbc.NavLink(
- C.NEWS_TITLE,
+ "Continuous Performance News",
disabled=True,
external_link=True,
href="#"