From d7f4d616df836f2f8590c8fd82ab165bd2f97cd5 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 26 Jan 2011 20:58:06 -0500 Subject: dirty If a page is dirty, do not allow additional navigation until changes are saved or committed https://fedorahosted.org/freeipa/ticket/726 --- ipalib/plugins/internal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipalib/plugins/internal.py') diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index ab53a0538..66ad45f2a 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -122,7 +122,8 @@ class i18n_messages(Command): "If this is your first time running the IPA Web UI"+ " "+ "Follow these directions to configure your browser.") - } + }, + "dirty":_("This page has unsaved changes. Please save or revert."), } has_output = ( Output('messages', dict, doc=_('Dict of I18N messages')), -- cgit