summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/versions/list.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-02 07:10:22 +0100
committerlpsolit%gmail.com <>2006-03-02 07:10:22 +0100
commitbf646df2bc21afc10dc0b074b13c8742ef43d461 (patch)
tree6e9955da4b5d96e907f5858e93ed4b7e07cdee54 /template/en/default/admin/versions/list.html.tmpl
parent6efc4495cf42c61f31397374618ea55bd31a9983 (diff)
downloadbugzilla-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.gz
bugzilla-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.xz
Bug 311258: use objects in admin templates (products & co) - Patch by André Batosti <batosti@async.com.br> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/admin/versions/list.html.tmpl')
-rw-r--r--template/en/default/admin/versions/list.html.tmpl17
1 files changed, 8 insertions, 9 deletions
diff --git a/template/en/default/admin/versions/list.html.tmpl b/template/en/default/admin/versions/list.html.tmpl
index b2ed2c343..5102dd506 100644
--- a/template/en/default/admin/versions/list.html.tmpl
+++ b/template/en/default/admin/versions/list.html.tmpl
@@ -21,25 +21,24 @@
#%]
[%# INTERFACE:
- # versions: array of version objects
- # showbugcounts: if defined, then bug counts should be included in the table
- # product: string; the name of the product we are editing versions for
+ # product: object; Bugzilla::Product object representing the product to
+ # which the versions belongs.
#%]
[% PROCESS global/variables.none.tmpl %]
[% title = BLOCK %]Select version of product
- '[% product FILTER html %]'[% END %]
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
[% edit_contentlink = BLOCK %]editversions.cgi?action=edit&amp;product=
- [%- product FILTER url_quote %]&amp;version=%%name%%[% END %]
+ [%- product.name FILTER url_quote %]&amp;version=%%name%%[% END %]
[% delete_contentlink = BLOCK %]editversions.cgi?action=del&amp;product=
- [%- product FILTER url_quote %]&amp;version=%%name%%[% END %]
+ [%- product.name FILTER url_quote %]&amp;version=%%name%%[% END %]
[% bug_count_contentlink = BLOCK %]buglist.cgi?version=%%name%%&amp;product=
- [%- product FILTER url_quote %][% END %]
+ [%- product.name FILTER url_quote %][% END %]
[% columns = [
@@ -72,14 +71,14 @@
[% PROCESS admin/table.html.tmpl
columns = columns
- data = versions
+ data = product.versions
%]
<p>
[% IF ! showbugcounts %]
- <p><a href="editversions.cgi?product=[% product FILTER url_quote %]&amp;showbugcounts=1">
+ <p><a href="editversions.cgi?product=[% product.name FILTER url_quote %]&amp;showbugcounts=1">
Redisplay table with [% terms.bug %] counts (slower)</a></p>
[% END %]