From 763dc81386c22949ec761a3828a0c84150cb68be Mon Sep 17 00:00:00 2001 From: "justdave%bugzilla.org" <> Date: Thu, 17 Mar 2005 14:13:14 +0000 Subject: 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 --- template/en/default/bug/process/results.html.tmpl | 10 +++++++++- template/en/default/filterexceptions.pl | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/bug/process/results.html.tmpl b/template/en/default/bug/process/results.html.tmpl index f6305f554..711776419 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 b7a3e0356..0b3eac943 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' => [ -- cgit v1.2.3-24-g4f1b
- Back To [% terms.Bug %]# [% id %] + [% linktext.$type %] [%# Links to more information about the changed bug. %] [% Hook.process("links") %]