diff options
author | lpsolit%gmail.com <> | 2009-01-02 14:59:22 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-01-02 14:59:22 +0100 |
commit | f6c2d743d87f86cdc206ab4bc772639b4569eebe (patch) | |
tree | e4740db3fee1b4b67e30bcc0271696af1b4ab280 /template | |
parent | 4c1a9a42e60496cde0565c512eec18d81050cccb (diff) | |
download | bugzilla-f6c2d743d87f86cdc206ab4bc772639b4569eebe.tar.gz bugzilla-f6c2d743d87f86cdc206ab4bc772639b4569eebe.tar.xz |
Bug 313126: Clean up editclassification.cgi and make it use Bugzilla::Classification methods - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/global/messages.html.tmpl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index 5e2eaef00..f72acff1a 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -186,26 +186,26 @@ [% ELSIF message_tag == "classification_deleted" %] [% title = "Classification Deleted" %] - The <em>[% classification FILTER html %]</em> classification has been deleted. + The <em>[% classification.name FILTER html %]</em> classification has been deleted. [% ELSIF message_tag == "classification_updated" %] - [% IF updated_classification || updated_description || updated_sortkey %] - [% title = "Classification Updated" %] - Changes to the <em>[% classification FILTER html %]</em> classification + [% title = "Classification Updated" %] + [% IF changes.keys.size %] + Changes to the <em>[% classification.name FILTER html %]</em> classification have been saved: <ul> - [% IF updated_classification %] - <li>Classification name updated</li> + [% IF changes.name.defined %] + <li>Name updated to '[% classification.name FILTER html %]'</li> [% END %] - [% IF updated_description %] - <li>Description updated</li> + [% IF changes.description.defined %] + <li>Description updated to '[% classification.description FILTER html %]'</li> [% END %] - [% IF updated_sortkey %] - <li>Sortkey updated</li> + [% IF changes.sortkey.defined %] + <li>Sortkey updated to '[% classification.sortkey FILTER html %]'</li> [% END %] </ul> [% ELSE %] - No changes made to <em>[% classification FILTER html %]</em>. + No changes made to <em>[% classification.name FILTER html %]</em>. [% END %] [% ELSIF message_tag == "component_created" %] |