From bf646df2bc21afc10dc0b074b13c8742ef43d461 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 2 Mar 2006 06:10:22 +0000 Subject: Bug 311258: use objects in admin templates (products & co) - Patch by André Batosti r=LpSolit a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../en/default/admin/milestones/footer.html.tmpl | 26 ++++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'template/en/default/admin/milestones/footer.html.tmpl') 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 @@
[% UNLESS no_add_milestone_link %] - Add a milestone. + [%- product.name FILTER url_quote %]">Add a milestone. [% END %] -[% IF name && !no_edit_milestone_link %] +[% IF milestone.name && !no_edit_milestone_link %] Edit milestone - '[% name FILTER html %]'. + [%- product.name FILTER url_quote %]&milestone= + [%- milestone.name FILTER url_quote %]"> + '[% milestone.name FILTER html %]'. [% END %] [% UNLESS no_edit_other_milestones_link %] Edit other milestones of product '[% product FILTER html %]'. + [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'. [% END %] Edit product '[% product FILTER html %]'. + [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'.

-- cgit v1.2.3-24-g4f1b