diff options
Diffstat (limited to 'template/en/default/admin/milestones/footer.html.tmpl')
-rw-r--r-- | template/en/default/admin/milestones/footer.html.tmpl | 26 |
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&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&product= - [%- product FILTER url_quote %]&milestone=[% name FILTER url_quote %]"> - '[% name FILTER html %]'</a>. + [%- product.name FILTER url_quote %]&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&product= - [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>. + [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>. </p> |