From 4587cba89586ff3e00ed863748857ecf56a41532 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 14 Oct 2005 06:42:32 +0000 Subject: Bug 306601: Bugzilla::Classification needs a products() method - Patch by André Batosti r=LpSolit a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../en/default/admin/classifications/del.html.tmpl | 8 +++--- .../default/admin/classifications/delete.html.tmpl | 2 +- .../default/admin/classifications/edit.html.tmpl | 19 +++++++++----- .../admin/classifications/reclassify.html.tmpl | 29 ++++++++++++---------- 4 files changed, 34 insertions(+), 24 deletions(-) (limited to 'template/en/default/admin/classifications') diff --git a/template/en/default/admin/classifications/del.html.tmpl b/template/en/default/admin/classifications/del.html.tmpl index 1430e093d..c32e46b4d 100644 --- a/template/en/default/admin/classifications/del.html.tmpl +++ b/template/en/default/admin/classifications/del.html.tmpl @@ -30,13 +30,13 @@ Classification: - [% classification FILTER html %] + [% classification.name FILTER html %] Description: - [% IF description %] - [% description %] + [% IF classification.description %] + [% classification.description FILTER none %] [% ELSE %] description missing [% END %] @@ -51,7 +51,7 @@
- +

Back to the main [% terms.bugs %] page diff --git a/template/en/default/admin/classifications/delete.html.tmpl b/template/en/default/admin/classifications/delete.html.tmpl index b2ec26cbb..046c1469f 100644 --- a/template/en/default/admin/classifications/delete.html.tmpl +++ b/template/en/default/admin/classifications/delete.html.tmpl @@ -23,7 +23,7 @@ title = "Classification deleted" %] -Classification [% classification FILTER html %] deleted.
+Classification [% classification.name FILTER html %] deleted.

Back to the main [% terms.bugs %] page or edit more classifications. diff --git a/template/en/default/admin/classifications/edit.html.tmpl b/template/en/default/admin/classifications/edit.html.tmpl index 65299df22..b38f4d6aa 100644 --- a/template/en/default/admin/classifications/edit.html.tmpl +++ b/template/en/default/admin/classifications/edit.html.tmpl @@ -27,18 +27,24 @@ - + - + - +
Classification:
Description: +
Edit products + + Edit products + - [% IF products AND products.size > 0 %] + [% IF classification.products.size > 0 %] - [% FOREACH product = products %] + [% FOREACH product = classification.products %]
[% product.name FILTER html %] @@ -58,7 +64,8 @@
- + diff --git a/template/en/default/admin/classifications/reclassify.html.tmpl b/template/en/default/admin/classifications/reclassify.html.tmpl index 3f7982bb3..127aeea87 100644 --- a/template/en/default/admin/classifications/reclassify.html.tmpl +++ b/template/en/default/admin/classifications/reclassify.html.tmpl @@ -23,19 +23,17 @@ title = "Reclassify products" %] -[% main_classification = classification %] -
- + - + @@ -65,7 +67,7 @@
Classification:[% main_classification FILTER html %][% classification.name FILTER html %]
Description: - [% IF description %] - [% description %] + [% IF classification.description %] + [% classification.description FILTER none %] [% ELSE %] description missing [% END %] @@ -45,16 +43,20 @@ Products: Products [% main_classification FILTER html %] Products[% classification.name FILTER html %] Products
- +

Back to the main [% terms.bugs %] page, or edit more classifications. -[% PROCESS global/footer.html.tmpl %] +[% PROCESS global/footer.html.tmpl %] + -- cgit v1.2.3-24-g4f1b