]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 278823: Make the "Back to bug ####" text read "Go to bug ####" if you didn't...
authorjustdave%bugzilla.org <>
Thu, 17 Mar 2005 14:13:14 +0000 (14:13 +0000)
committerjustdave%bugzilla.org <>
Thu, 17 Mar 2005 14:13:14 +0000 (14:13 +0000)
Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org>
r=LpSolit, a=justdave

template/en/default/bug/process/results.html.tmpl
template/en/default/filterexceptions.pl

index f6305f554b61e2544f0a3c6e13883c6059e2d922..711776419abdf71c431b3efa464d7395d8fb57c4 100644 (file)
     '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>
index b7a3e03565a242f83a536100c298399beb2c173a..0b3eac943b27779e1f3bb2340946c836c8e84be0 100644 (file)
 'bug/process/results.html.tmpl' => [
   'title.$type', 
   'id', 
+  'linktext.$type',
 ],
 
 'bug/create/comment.txt.tmpl' => [