Module: check_mk
Branch: master
Commit: ff5a6d49be2f07992ca32ef149fcccf5d458cfc2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ff5a6d49be2f07…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Thu Feb 23 14:15:37 2017 +0100
Fixed small html rendering bug.
Change-Id: I7c9a863ebb215759c016a3b169f96f191ffd0b40
---
web/htdocs/watolib.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index 7d38969..499bfd8 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -2905,8 +2905,8 @@ class ContactGroupsAttribute(Attribute):
texts.append('<a
href="wato.py?mode=edit_contact_group&edit=%s">%s</a>' % (name,
display_name))
result = ", ".join(texts)
if texts and value["use"]:
- result += "<span
title='%s'><b>*</b></span>" % \
- _("These contact groups are also used in the monitoring
configuration.")
+ result += html.render_span(html.render_b("*"),
+ title=_("These contact groups are also used in the monitoring
configuration."))
return "", result
def render_input(self, varprefix, value):