From 4a763a685c4853086743a1e5357f727e6bae8e3b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 7 Jan 2007 04:02:32 +0000 Subject: [PATCH] =?utf8?q?Bug=20365753:=20Incorrect=20"Cancel"=20link=20wh?= =?utf8?q?en=20moving=20bug=20to=20another=20product=20-=20Patch=20by=20Fr?= =?utf8?q?=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r?= =?utf8?q?=3Dbkor=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../default/bug/process/verify-new-product.html.tmpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 9b73abe976..f248809846 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 %] -- 2.47.2