diff options
author | lpsolit%gmail.com <> | 2005-07-29 21:14:40 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-07-29 21:14:40 +0000 |
commit | ab199bf568703d0c287d0f21ce1816e44183aa02 (patch) | |
tree | 41e9ffb1230afed4f0bfff0d463a3e9e025c26e4 /template/en/default/admin/classifications/select.html.tmpl | |
parent | 966c262164d7dd68686862fa827d0dfde2132b69 (diff) | |
download | bugs-ab199bf568703d0c287d0f21ce1816e44183aa02.tar bugs-ab199bf568703d0c287d0f21ce1816e44183aa02.tar.gz bugs-ab199bf568703d0c287d0f21ce1816e44183aa02.tar.bz2 bugs-ab199bf568703d0c287d0f21ce1816e44183aa02.tar.xz bugs-ab199bf568703d0c287d0f21ce1816e44183aa02.zip |
Bug 286294: cleanup editclassifications.cgi and migrate the existent code to use Classification.pm - Patch by Tiago R. Mello <timello@gmail.com> r=LpSolit a=myk
Diffstat (limited to 'template/en/default/admin/classifications/select.html.tmpl')
-rw-r--r-- | template/en/default/admin/classifications/select.html.tmpl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/template/en/default/admin/classifications/select.html.tmpl b/template/en/default/admin/classifications/select.html.tmpl index 3cfa3fcaa..60ae81216 100644 --- a/template/en/default/admin/classifications/select.html.tmpl +++ b/template/en/default/admin/classifications/select.html.tmpl @@ -23,8 +23,6 @@ title = "Select classification" %] -[% filt_classification = classification FILTER html %] - <table border=1 cellpadding=4 cellspacing=0> <tr bgcolor="#6666ff"> <th align="left">Edit Classification ...</th> @@ -35,7 +33,7 @@ [% FOREACH cl = classifications %] <tr> - <td valign="top"><a href="editclassifications.cgi?action=edit&classification=[% cl.classification FILTER url_quote %]"><b>[% cl.classification FILTER html %]</b></a></td> + <td valign="top"><a href="editclassifications.cgi?action=edit&classification=[% cl.name FILTER url_quote %]"><b>[% cl.name FILTER html %]</b></a></td> <td valign="top"> [% IF cl.description %] [% cl.description %] @@ -44,16 +42,16 @@ [% END %] </td> [% IF (cl.id == 1) %] - <td valign="top">[% cl.total FILTER html %]</td> + <td valign="top">[% cl.product_count FILTER html %]</td> [% ELSE %] - <td valign="top"><a href="editclassifications.cgi?action=reclassify&classification=[% cl.classification FILTER url_quote %]">reclassify ([% cl.total FILTER html %])</a></td> + <td valign="top"><a href="editclassifications.cgi?action=reclassify&classification=[% cl.name FILTER url_quote %]">reclassify ([% cl.product_count FILTER html %])</a></td> [% END %] [%# don't allow user to delete the default id. %] [% IF (cl.id == 1) %] <td valign="top"> </td> [% ELSE %] - <td valign="top"><a href="editclassifications.cgi?action=del&classification=[% cl.classification FILTER url_quote %]">delete</a></td> + <td valign="top"><a href="editclassifications.cgi?action=del&classification=[% cl.name FILTER url_quote %]">delete</a></td> [% END %] </tr> [% END %] |