Module: check_mk
Branch: master
Commit: 5d09c16ecb33f0a9d439115317a0fd28b2fcf1d0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5d09c16ecb33f0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 8 11:25:36 2018 +0100
5594 FIX Custom graphs: Fixed rendering titles of "sidebar hidden" custom graphs
on graph list page
The title of the custom graphs was not shown on the graph list page for graphs that are
configured
to be hidden from the sidebar.
Change-Id: Icdbef0adb66d5c775f6460fac406311b234ca175
---
.werks/5594 | 12 ++++++++++++
web/htdocs/pagetypes.py | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5594 b/.werks/5594
new file mode 100644
index 0000000..cd5a1ca
--- /dev/null
+++ b/.werks/5594
@@ -0,0 +1,12 @@
+Title: Custom graphs: Fixed rendering titles of "sidebar hidden" custom graphs
on graph list page
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i3
+Date: 1515407044
+
+The title of the custom graphs was not shown on the graph list page for graphs that are
configured
+to be hidden from the sidebar.
diff --git a/web/htdocs/pagetypes.py b/web/htdocs/pagetypes.py
index 3153a19..b706c53 100644
--- a/web/htdocs/pagetypes.py
+++ b/web/htdocs/pagetypes.py
@@ -393,7 +393,7 @@ class PageRenderer(Base):
if not self.is_hidden():
return html.render_a(self.title(), href=self.page_url())
else:
- return ""
+ return self.title()
#.