Commit 763dc813 authored by justdave%bugzilla.org's avatar justdave%bugzilla.org

Bug 278823: Make the "Back to bug ####" text read "Go to bug ####" if you didn't…

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
parent ff774215
......@@ -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>
......
......@@ -414,6 +414,7 @@
'bug/process/results.html.tmpl' => [
'title.$type',
'id',
'linktext.$type',
],
'bug/create/comment.txt.tmpl' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment