summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/milestones/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/milestones/list.html.tmpl')
-rw-r--r--template/en/default/admin/milestones/list.html.tmpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/template/en/default/admin/milestones/list.html.tmpl b/template/en/default/admin/milestones/list.html.tmpl
index b9311fc1a..d25308583 100644
--- a/template/en/default/admin/milestones/list.html.tmpl
+++ b/template/en/default/admin/milestones/list.html.tmpl
@@ -21,9 +21,9 @@
#%]
[%# INTERFACE:
- # milestones: array of milestone objects
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestones belongs.
# showbugcounts: if defined, then bug counts should be included in the table
- # product: string; the name of the product we are editing milestones for
#%]
[% USE Bugzilla %]
@@ -32,17 +32,17 @@
[% PROCESS global/variables.none.tmpl %]
[% title = BLOCK %]Select milestone of product
- '[% product FILTER html %]'[% END %]
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
[% edit_contentlink = BLOCK %]editmilestones.cgi?action=edit&product=
- [%- product FILTER url_quote %]&milestone=%%name%%[% END %]
+ [%- product.name FILTER url_quote %]&milestone=%%name%%[% END %]
[% delete_contentlink = BLOCK %]editmilestones.cgi?action=del&product=
- [%- product FILTER url_quote %]&milestone=%%name%%[% END %]
+ [%- product.name FILTER url_quote %]&milestone=%%name%%[% END %]
[% bug_count_contentlink = BLOCK %]buglist.cgi?target_milestone=%%name%%&product=
- [%- product FILTER url_quote %][% END %]
+ [%- product.name FILTER url_quote %][% END %]
[% columns = [
@@ -81,7 +81,7 @@
[%# We want to override the usual 'Delete' link for the default
milestone %]
[% overrides.action = [ {
- match_value => "$default_milestone"
+ match_value => product.default_milestone
match_field => 'name'
override_content => 1
content => "(Default milestone)"
@@ -92,7 +92,7 @@
[% PROCESS admin/table.html.tmpl
columns = columns
- data = milestones
+ data = product.milestones
overrides = overrides
%]
@@ -100,7 +100,7 @@
[% IF ! showbugcounts %]
- <p><a href="editmilestones.cgi?product=[% product FILTER url_quote %]&amp;showbugcounts=1">
+ <p><a href="editmilestones.cgi?product=[% product.name FILTER url_quote %]&amp;showbugcounts=1">
Redisplay table with [% terms.bug %] counts (slower)</a></p>
[% END %]