Module: check_mk
Branch: master
Commit: d758d231ab25d4396525bb14a278105517159037
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d758d231ab25d4…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Dec 8 21:23:30 2014 +0100
Fix size of icons in LDAP connection test
---
web/htdocs/wato.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 7d3ec85..7b88e45 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -7346,9 +7346,9 @@ def mode_ldap_config(phase):
msg = _('Exception: %s') % html.attrencode(e)
if state:
- img = '<img src="images/icon_success.png"
alt="%s" />' % _('Success')
+ img = html.render_icon("success", _('Success'))
else:
- img = '<img src="images/icon_failed.png"
alt="%s" />' % _('Failed')
+ img = html.render_icon("failed", _("Failed"))
table.cell(_("Test"), title)
table.cell(_("State"), img)