summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2005-03-17 15:13:14 +0100
committerjustdave%bugzilla.org <>2005-03-17 15:13:14 +0100
commit763dc81386c22949ec761a3828a0c84150cb68be (patch)
tree89bf15927ee2d3be5d5e60b866d6730e4c876b8d /template
parentff77421511f676ac647227b2cd7b7b015cc3fdaa (diff)
downloadbugzilla-763dc81386c22949ec761a3828a0c84150cb68be.tar.gz
bugzilla-763dc81386c22949ec761a3828a0c84150cb68be.tar.xz
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 <bugzilla-mozilla@bkor.dhs.org> r=LpSolit, a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/process/results.html.tmpl10
-rw-r--r--template/en/default/filterexceptions.pl1
2 files changed, 10 insertions, 1 deletions
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" ,
+ }
%]
<table border="1">
@@ -54,7 +62,7 @@
[% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = id %]
</td>
<td>
- <a href="show_bug.cgi?id=[% id %]">Back To [% terms.Bug %]# [% id %]</a>
+ <a href="show_bug.cgi?id=[% id %]">[% linktext.$type %]</a>
[%# Links to more information about the changed bug. %]
[% Hook.process("links") %]
</td>
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' => [