Module: check_mk
Branch: master
Commit: 3b7f4bc8f432d64f8aa7b398acb965b601ddbc56
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3b7f4bc8f432d6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 18 08:12:30 2018 +0200
Users sub pages: Made back buttons a little more consistent
Change-Id: I6c9b2a76446d41aaf5eb61c8e874810e44cca05c
---
web/htdocs/notify.py | 2 +-
web/htdocs/wato.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/notify.py b/web/htdocs/notify.py
index aa5e4d1..b115075 100644
--- a/web/htdocs/notify.py
+++ b/web/htdocs/notify.py
@@ -108,7 +108,7 @@ def page_notify():
html.header(_('Notify Users'), stylesheets = ['pages',
'status', 'views'])
html.begin_context_buttons()
- html.context_button(_('User Config'), 'wato.py?mode=users',
'users')
+ html.context_button(_("Users"), "wato.py?mode=users",
"back")
html.end_context_buttons()
vs_notify = _vs_notify()
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index ea0fc47..f15da8b 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6346,7 +6346,7 @@ class ModeLDAPConfig(LDAPMode):
def buttons(self):
global_buttons()
- html.context_button(_("Users"),
watolib.folder_preserving_link([("mode", "users")]),
"users")
+ html.context_button(_("Back"),
watolib.folder_preserving_link([("mode", "users")]),
"back")
html.context_button(_("New Connection"),
watolib.folder_preserving_link([("mode", "edit_ldap_connection")]),
"new")
@@ -11060,7 +11060,7 @@ def mode_edit_user(phase):
return _("Edit user %s") % user_id
elif phase == "buttons":
- html.context_button(_("All Users"),
watolib.folder_preserving_link([("mode", "users")]),
"back")
+ html.context_button(_("Users"),
watolib.folder_preserving_link([("mode", "users")]),
"back")
if rulebased_notifications and not is_new_user:
html.context_button(_("Notifications"),
watolib.folder_preserving_link([("mode", "user_notifications"),
("user", user_id)]), "notifications")