summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-06-28 10:59:09 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-07-01 02:49:12 +0000
commitc27a6de2a601f6507b872978e508a29baa8c7b52 (patch)
tree8269c88ae4e0bbe1ad29d79567030b244eafcdfd /ipalib
parent9d8ddb5d46e13d3e6c53ae968465ecfd53948425 (diff)
downloadfreeipa-c27a6de2a601f6507b872978e508a29baa8c7b52.tar.gz
freeipa-c27a6de2a601f6507b872978e508a29baa8c7b52.tar.xz
freeipa-c27a6de2a601f6507b872978e508a29baa8c7b52.zip
Added confirmation dialog for user activation.
The IPA.user_status_widget has been modified such that it checks the facet dirty status and asks the admin to either Update or Reset the changes. Then the widget shows a dialog to confirm whether the admin wants to activate/deactivate the user. Ticket #1395
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py22
1 files changed, 12 insertions, 10 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index b7425e350..854ebacef 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -148,8 +148,6 @@ class i18n_messages(Command):
"restore_certificate":_("Restore Certificate for ${entity} ${primary_key}"),
},
"config": {
- "ipaserver":_("Configuration"),
- "cn":_("Name"),
"user":_("User Options"),
"search":_("Search Options"),
"group":_("Group Options"),
@@ -302,20 +300,23 @@ class i18n_messages(Command):
},
"user": {
"account":_("Account Settings"),
+ "account_status":_("Account Status"),
+ "activate":_("Activate"),
+ "activation_link":_("Click to ${action}"),
+ "activation_confirmation":_("Are you sure you want to ${action} the user?<br/>The change will take effect immediately."),
+ "active":_("Active"),
"contact":_("Contact Settings"),
- "mailing":_("Mailing Address"),
+ "deactivate":_("Deactivate"),
"employee":_("Employee Information"),
- "misc":_("Misc. Information"),
- "active":_("Active"),
- "deactivate":_("Click to Deactivate"),
- "inactive":_("Inactive"),
- "activate":_("Click to Activate"),
"error_changing_status":_("Error changing account status"),
- "reset_password":_("Reset Password"),
+ "inactive":_("Inactive"),
+ "mailing":_("Mailing Address"),
+ "misc":_("Misc. Information"),
"new_password":_("New Password"),
- "repeat_password":_("Repeat Password"),
"password_change_complete":_("Password change complete"),
"password_must_match":_("Passwords must match"),
+ "repeat_password":_("Repeat Password"),
+ "reset_password":_("Reset Password"),
},
},
"buttons": {
@@ -342,6 +343,7 @@ class i18n_messages(Command):
"dialogs": {
"add_title":_("Add ${entity}"),
"available":_("Available"),
+ "confirmation":_("Confirmation"),
"dirty_message":_("This page has unsaved changes. Please save or revert."),
"dirty_title":_("Dirty"),
"hide_already_enrolled":_("Hide already enrolled."),