From bf646df2bc21afc10dc0b074b13c8742ef43d461 Mon Sep 17 00:00:00 2001
From: "lpsolit%gmail.com" <>
Date: Thu, 2 Mar 2006 06:10:22 +0000
Subject: =?UTF-8?q?Bug=20311258:=20use=20objects=20in=20admin=20templates?=
=?UTF-8?q?=20(products=20&=20co)=20-=20Patch=20by=20Andr=C3=A9=20Batosti?=
=?UTF-8?q?=20=20r=3DLpSolit=20a=3Djustdave?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
template/en/default/admin/versions/created.html.tmpl | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
(limited to 'template/en/default/admin/versions/created.html.tmpl')
diff --git a/template/en/default/admin/versions/created.html.tmpl b/template/en/default/admin/versions/created.html.tmpl
index 84445cccd..597ac119f 100644
--- a/template/en/default/admin/versions/created.html.tmpl
+++ b/template/en/default/admin/versions/created.html.tmpl
@@ -20,22 +20,23 @@
#%]
[%# INTERFACE:
- # name: string; the name of the newly created version
- #
- # product: string; the name of the product the version belongs to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the
+ # newly created version
#%]
[% title = BLOCK %]Adding new Version of Product
- '[% product FILTER html %]'[% END %]
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
-The version 'The version '
- [%- name FILTER html %]' has been created.
+ [%- product.name FILTER url_quote %]&version=[% version.name FILTER url_quote %]">
+ [%- version.name FILTER html %]' has been created.
--
cgit v1.2.1