Module: check_mk
Branch: master
Commit: 2ec8c72387c7865fe4e252244535134dae34522d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2ec8c72387c786…
Author: Manfred Brunner <mb(a)mathias-kettner.de>
Date: Mon Aug 7 11:17:54 2017 +0200
Fix: Show custom user attributes for notification in all cases
Change-Id: Iece8899ab551842323082880a1da47d501347fde
---
web/htdocs/wato.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index d48914b..3b22505 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -11085,7 +11085,6 @@ def mode_edit_user(phase):
forms.section(_("Notification Method"))
get_vs_flexible_notifications().render_input("notification_method",
user.get("notification_method"))
- custom_user_attributes('notify')
else:
forms.section(_("Fallback notifications"), simple=True)
@@ -11100,6 +11099,8 @@ def mode_edit_user(phase):
"setting <a
href=\"wato.py?mode=edit_configvar&varname=notification_fallback_email\">"
"Fallback email address for notifications</a>."))
+ custom_user_attributes('notify')
+
forms.header(_("Personal Settings"), isopen = False)
select_language(user)
custom_user_attributes('personal')