From 4a763a685c4853086743a1e5357f727e6bae8e3b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 7 Jan 2007 04:02:32 +0000 Subject: =?UTF-8?q?Bug=20365753:=20Incorrect=20"Cancel"=20link=20when=20mo?= =?UTF-8?q?ving=20bug=20to=20another=20product=20-=20Patch=20by=20Fr=C3=83?= =?UTF-8?q?=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dbko?= =?UTF-8?q?r=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/process/verify-new-product.html.tmpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'template/en/default/bug/process') diff --git a/template/en/default/bug/process/verify-new-product.html.tmpl b/template/en/default/bug/process/verify-new-product.html.tmpl index 9b73abe97..f24880984 100644 --- a/template/en/default/bug/process/verify-new-product.html.tmpl +++ b/template/en/default/bug/process/verify-new-product.html.tmpl @@ -118,7 +118,16 @@
-Cancel and Return to the Search Page + +[%# If 'id' is defined, then we are editing a single bug. + # Else we are editing several bugs at once. %] + +[% IF cgi.param('id') AND cgi.param('id').match('^\d+$') %] + [% id = cgi.param('id') %] + [% "Cancel and Return to $terms.bug $id" FILTER bug_link(id) FILTER none %] +[% ELSE %] + Cancel and Return to the last search results +[% END %] [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.1