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/versions/footer.html.tmpl | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'template/en/default/admin/versions/footer.html.tmpl') diff --git a/template/en/default/admin/versions/footer.html.tmpl b/template/en/default/admin/versions/footer.html.tmpl index 252005697..cf5e16ddd 100644 --- a/template/en/default/admin/versions/footer.html.tmpl +++ b/template/en/default/admin/versions/footer.html.tmpl @@ -20,10 +20,9 @@ #%] [%# INTERFACE: - # name: string; the name of the version - # - # product: string; the name of the product which the version - # belongs/belonged to + # product: object; Bugzilla::Product object representing the product to + # which the version belongs. + # version: object; Bugzilla::Version object representing the version # # no_XXX_link: boolean; if defined, then don't show the corresponding # link. Supported parameters are: @@ -38,29 +37,30 @@
[% UNLESS no_add_version_link %] - Add a version. + [%- product.name FILTER url_quote %]">Add a version. [% END %] -[% IF name && !no_edit_version_link %] +[% IF version.name && !no_edit_version_link %] Edit version - '[% name FILTER html %]'. + [%- product.name FILTER url_quote %]&version= + [%- version.name FILTER url_quote %]"> + '[% version.name FILTER html %]'. [% END %] [% UNLESS no_edit_other_versions_link %] Edit other versions 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