Module: check_mk
Branch: master
Commit: ca4f7567ebc7fa7b687ee04142c23e0ee08b1e25
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ca4f7567ebc7fa…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Dec 22 06:58:19 2016 +0100
Better styling of SNMP credentials
Change-Id: I69a0fd773a14d77aa9f74978f2b329bd57e1adba
---
web/plugins/wato/builtin_attributes.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/plugins/wato/builtin_attributes.py
b/web/plugins/wato/builtin_attributes.py
index c66c9d4..338f515 100644
--- a/web/plugins/wato/builtin_attributes.py
+++ b/web/plugins/wato/builtin_attributes.py
@@ -173,6 +173,7 @@ class SNMPCredentials(Alternative):
kwargs.setdefault("title", _("SNMPv3 credentials"))
else:
kwargs.setdefault("title", _("SNMP credentials"))
+ kwargs["orientation"] = "vertical"
Alternative.__init__(self, **kwargs)
declare_host_attribute(