From: justdave%bugzilla.org <> Date: Thu, 17 Mar 2005 14:13:14 +0000 (+0000) Subject: Bug 278823: Make the "Back to bug ####" text read "Go to bug ####" if you didn't... X-Git-Tag: bugzilla-2.19.3~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=763dc81386c22949ec761a3828a0c84150cb68be;p=thirdparty%2Fbugzilla.git Bug 278823: Make the "Back to bug ####" text read "Go to bug ####" if you didn't just come from said bug. Patch by Olav Vitters r=LpSolit, a=justdave --- diff --git a/template/en/default/bug/process/results.html.tmpl b/template/en/default/bug/process/results.html.tmpl index f6305f554b..711776419a 100644 --- a/template/en/default/bug/process/results.html.tmpl +++ b/template/en/default/bug/process/results.html.tmpl @@ -45,6 +45,14 @@ 'votes' => "$terms.Bug $id confirmed by number of votes" , 'created' => "$terms.Bug $id has been added to the database" , } + + linktext = { + 'bug' => "Back To $terms.Bug $id" , + 'dupe' => "Go To $terms.Bug $id" , + 'dep' => "Go To $terms.Bug $id" , + 'votes' => "Go To $terms.Bug $id" , + 'created' => "Go To $terms.Bug $id" , + } %] @@ -54,7 +62,7 @@ [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = id %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index b7a3e03565..0b3eac943b 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -414,6 +414,7 @@ 'bug/process/results.html.tmpl' => [ 'title.$type', 'id', + 'linktext.$type', ], 'bug/create/comment.txt.tmpl' => [
- Back To [% terms.Bug %]# [% id %] + [% linktext.$type %] [%# Links to more information about the changed bug. %] [% Hook.process("links") %]