summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-23 12:35:45 -0600
committerAdam Young <ayoung@redhat.com>2011-03-02 12:26:24 -0500
commit697af3e1f8b4102df2bde5c7d04f8e7d4dad4369 (patch)
tree81ccaef5abec658748833695ee184a4f89fc2214 /ipalib
parentd37bb6f925cace69f15c8e548a69121bfb00be5e (diff)
downloadfreeipa-697af3e1f8b4102df2bde5c7d04f8e7d4dad4369.tar.gz
freeipa-697af3e1f8b4102df2bde5c7d04f8e7d4dad4369.tar.xz
freeipa-697af3e1f8b4102df2bde5c7d04f8e7d4dad4369.zip
Save changes before modifying association.
In a details page, usually any changes done to the fields will not be applied until the user clicks the Update button. However, if the page contains an association table, any addition/deletion to the table will be applied immediately. To avoid any confusion, the user is now required to save or reset all changes to the page before modifying the association. A dialog box will appear if the page contains any unsaved changes.
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index 436867ba..29e930c7 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -332,10 +332,12 @@ class i18n_messages(Command):
"view":_("View"),
},
"dialogs":{
+ "available":_("Available"),
+ "dirty_message":_("This page has unsaved changes. Please save or revert."),
+ "dirty_title":_("Dirty"),
+ "hide_already_enrolled":_("Hide already enrolled."),
"remove_empty":_("Select ${entity} to be removed."),
"remove_title":_("Remove ${entity}."),
- "hide_already_enrolled":_("Hide already enrolled."),
- "available":_("Available"),
"prospective":_("Prospective"),
},
"facets":{
@@ -377,7 +379,6 @@ class i18n_messages(Command):
"ajax":{
"401":_("Your kerberos ticket is no longer valid. Please run kinit and then click 'Retry'. If this is your first time running the IPA Web UI <a href='/ipa/config/unauthorized.html'>follow these directions</a> to configure your browser.")
},
- "dirty":_("This page has unsaved changes. Please save or revert."),
}
has_output = (
Output('messages', dict, doc=_('Dict of I18N messages')),