summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/milestones/footer.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/milestones/footer.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/milestones/footer.html.tmpl')
-rw-r--r--template/en/default/admin/milestones/footer.html.tmpl26
1 files changed, 14 insertions, 12 deletions
diff --git a/template/en/default/admin/milestones/footer.html.tmpl b/template/en/default/admin/milestones/footer.html.tmpl
index 8980d642e..48a4d950a 100644
--- a/template/en/default/admin/milestones/footer.html.tmpl
+++ b/template/en/default/admin/milestones/footer.html.tmpl
@@ -20,10 +20,11 @@
#%]
[%# INTERFACE:
- # name: string; the name of the milestone
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
#
- # product: string; the name of the product which the milestone
- # belongs/belonged to
+ # milestone: object; Bugzilla::Milestone object representing the
+ # milestone.
#
# no_XXX_link: boolean; if defined, then don't show the corresponding
# link. Supported parameters are:
@@ -38,29 +39,30 @@
<hr>
[% UNLESS no_add_milestone_link %]
- <a title="Add a milestone to product '[% product FILTER html %]'"
+ <a title="Add a milestone to product '[% product.name FILTER html %]'"
href="editmilestones.cgi?action=add&amp;product=
- [%- product FILTER url_quote %]">Add</a> a milestone.
+ [%- product.name FILTER url_quote %]">Add</a> a milestone.
[% END %]
-[% IF name && !no_edit_milestone_link %]
+[% IF milestone.name && !no_edit_milestone_link %]
Edit milestone <a
- title="Edit Milestone '[% name FILTER html %]' of product '
- [%- product FILTER html %]'"
+ title="Edit Milestone '[% milestone.name FILTER html %]' of product '
+ [%- product.name FILTER html %]'"
href="editmilestones.cgi?action=edit&amp;product=
- [%- product FILTER url_quote %]&amp;milestone=[% name FILTER url_quote %]">
- '[% name FILTER html %]'</a>.
+ [%- product.name FILTER url_quote %]&amp;milestone=
+ [%- milestone.name FILTER url_quote %]">
+ '[% milestone.name FILTER html %]'</a>.
[% END %]
[% UNLESS no_edit_other_milestones_link %]
Edit other milestones of product <a
href="editmilestones.cgi?product=
- [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>.
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
[% END %]
Edit product <a
href="editproducts.cgi?action=edit&amp;product=
- [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>.
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
</p>