Module: check_mk
Branch: master
Commit: 8080cf1cabfe9a2fad6e73a2e27de0e1ed89a6fd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8080cf1cabfe9a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jun 26 15:42:16 2015 +0200
User list: Cleaned up connection column format
---
web/htdocs/wato.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 90d8a28..903cfe5 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -12339,10 +12339,11 @@ def mode_users(phase):
# Connector
if connector:
- table.cell(_("Connector"), '%s (%s)' % (user_connection_id,
connector['short_title']))
+ table.cell(_("Connector"), '%s (%s)' %
(connector['short_title'], user_connection_id))
locked_attributes = userdb.locked_attributes(user_connection_id)
else:
- table.cell(_("Connector"), "%s (disabled)" %
user_connection_id, css="error")
+ table.cell(_("Connector"), "%s (%s) (disabled)" %
+ (connector['short_title'], user_connection_id),
css="error")
locked_attributes = []
# Authentication