diff options
author | justdave%bugzilla.org <> | 2005-03-17 14:13:14 +0000 |
---|---|---|
committer | justdave%bugzilla.org <> | 2005-03-17 14:13:14 +0000 |
commit | 763dc81386c22949ec761a3828a0c84150cb68be (patch) | |
tree | 89bf15927ee2d3be5d5e60b866d6730e4c876b8d /template/en | |
parent | ff77421511f676ac647227b2cd7b7b015cc3fdaa (diff) | |
download | bugs-763dc81386c22949ec761a3828a0c84150cb68be.tar bugs-763dc81386c22949ec761a3828a0c84150cb68be.tar.gz bugs-763dc81386c22949ec761a3828a0c84150cb68be.tar.bz2 bugs-763dc81386c22949ec761a3828a0c84150cb68be.tar.xz bugs-763dc81386c22949ec761a3828a0c84150cb68be.zip |
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/en')
-rw-r--r-- | template/en/default/bug/process/results.html.tmpl | 10 | ||||
-rw-r--r-- | template/en/default/filterexceptions.pl | 1 |
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' => [ |