diff options
author | lpsolit%gmail.com <> | 2005-09-09 01:58:56 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-09 01:58:56 +0200 |
commit | b173be41f6e36f7abd0134090b9906db3f2ffd30 (patch) | |
tree | 8169f8416fc411a5839dcfb681cfb228ecc03830 /template/en/default/admin/products/footer.html.tmpl | |
parent | 25385f53b2dc79bf807f6fbef2f0f73491f83445 (diff) | |
download | bugzilla-b173be41f6e36f7abd0134090b9906db3f2ffd30.tar.gz bugzilla-b173be41f6e36f7abd0134090b9906db3f2ffd30.tar.xz |
Bug 306242: Templatize the 'update product' bit of editproducts.cgi - Patch by GavinS <bugzilla@chimpychompy.org> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/admin/products/footer.html.tmpl')
-rw-r--r-- | template/en/default/admin/products/footer.html.tmpl | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/template/en/default/admin/products/footer.html.tmpl b/template/en/default/admin/products/footer.html.tmpl index 2244c69a1..157e71582 100644 --- a/template/en/default/admin/products/footer.html.tmpl +++ b/template/en/default/admin/products/footer.html.tmpl @@ -32,6 +32,9 @@ [% classification_url_part = BLOCK %]&classification= [%- classification FILTER url_quote %] [% END %] + [% classification_url_part_start = BLOCK %]classification= + [%- classification FILTER url_quote %] + [% END %] [% classification_text = BLOCK %] of classification '[% classification FILTER html %]' [% END %] @@ -61,16 +64,16 @@ [% classification_text %]" href="editproducts.cgi?action=edit&product= [%- name FILTER url_quote %][% classification_url_part %]"> - '[% name FILTER html %]'</a> + '[% name FILTER html %]'</a>. [% END %] +[%# Edit other products (in a classification if specified): %] [% UNLESS no_edit_other_products_link %] - Edit other products [% classification_text %]<a - href="editproducts.cgi?product= - [%- name FILTER url_quote %] - [%- classification_url_part %]">' - [%- classification FILTER html %]'</a> + Edit <a + href="editproducts.cgi? + [%- classification_url_part_start FILTER none %]">other products + [% classification_text %]</a>. [% END %] |