summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/internal.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-09-03 16:43:13 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-09-06 17:36:29 +0200
commit835c7859c5c31807b9f46cf79462459238571f5e (patch)
treef6c338cc023d95bb80057de46b71fbddedfcd561 /ipalib/plugins/internal.py
parenta01fbb91e88918ead456ae85e886e975f29dc1be (diff)
downloadfreeipa-835c7859c5c31807b9f46cf79462459238571f5e.tar.gz
freeipa-835c7859c5c31807b9f46cf79462459238571f5e.tar.xz
freeipa-835c7859c5c31807b9f46cf79462459238571f5e.zip
Update of confirmation of actions
This patch is changing confirmation of actions according to ticket #3035, see the ticket description. It does following changes: * Confirmation of update action was removed. * Action lists resets to first action (which is usually a NOP: '-- select action --') on change of displayed entry. * New confirmation dialog was implemented. It is used for action confirmation. It is used in IPA.action to replace the call of window.confirm(message). The old call is a modal window which blocks all JS functionality and has different style than other dialogs in Web UI. The new one has same design and doesn't block background operations. https://fedorahosted.org/freeipa/ticket/3035
Diffstat (limited to 'ipalib/plugins/internal.py')
-rw-r--r--ipalib/plugins/internal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index f449da4f4..98a5ceeb5 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -626,7 +626,9 @@ class i18n_messages(Command):
"search": {
"delete_confirm": _("Are you sure you want to delete selected entries?"),
"deleted": _("Selected entries were deleted."),
+ "disable_confirm": _("Are you sure you want to disable selected entries?"),
"disabled": _("${count} items were disabled"),
+ "enable_confirm": _("Are you sure you want to enable selected entries?"),
"enabled": _("${count} items were enabled"),
"partial_delete": _("Some entries were not deleted"),
"quick_links": _("Quick Links"),