From c87cca60cfe149bf4ffe7ed1746189b936e87bac Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 28 Jan 2008 05:14:14 +0000 Subject: Bug 325487: Admin pages should require less "clicks" (remove useless confirmation pages) - Patch by Frédéric Buclin r=justdave r=mkanat a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/messages.html.tmpl | 263 ++++++++++++++++++++++++-- 1 file changed, 243 insertions(+), 20 deletions(-) (limited to 'template/en/default/global/messages.html.tmpl') diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index 86660de18..0189cfab7 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -173,6 +173,82 @@ Click here if the page does not automatically refresh. + [% ELSIF message_tag == "classification_created" %] + [% title = "New Classification Created" %] + The [% classification.name FILTER html %] classification has been created. + + [% ELSIF message_tag == "classification_deleted" %] + [% title = "Classification Deleted" %] + The [% classification FILTER html %] classification has been deleted. + + [% ELSIF message_tag == "classification_updated" %] + [% IF updated_classification || updated_description || updated_sortkey %] + [% title = "Classification Updated" %] + Changes to the [% classification FILTER html %] classification + have been saved: + + [% ELSE %] + No changes made to [% classification FILTER html %]. + [% END %] + + [% ELSIF message_tag == "component_created" %] + [% title = "Component Created" %] + The component [% comp.name FILTER html %] has been created. + + [% ELSIF message_tag == "component_deleted" %] + [% title = "Component Deleted" %] + The component [% comp.name FILTER html %] has been deleted. + [% IF comp.bug_count %] + All [% terms.bugs %] being in this component and all references + to them have also been deleted. + [% END %] + + [% ELSIF message_tag == "component_updated" %] + [% title = "Component Updated" %] + [% IF changes.keys.size %] + Changes to the component [% comp.name FILTER html %] have been saved: +