]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 115650: No TITLE attribute on buglinks on process_bug.cgi - Patch by victory...
authorlpsolit%gmail.com <>
Wed, 15 Nov 2006 02:30:53 +0000 (02:30 +0000)
committerlpsolit%gmail.com <>
Wed, 15 Nov 2006 02:30:53 +0000 (02:30 +0000)
template/en/default/bug/process/confirm-duplicate.html.tmpl
template/en/default/bug/process/midair.html.tmpl
template/en/default/filterexceptions.pl

index 4703af42679cd8c21eeb5a34e4f0f7c57026d3d6..eb3b82b4ff4513307a35910e6f214929f9579ede 100644 (file)
   #%]
 
 [% PROCESS global/variables.none.tmpl %]
-
 [% PROCESS global/header.html.tmpl title="Duplicate Warning" %]
+[% orig_bug = "$terms.bug $original_bug_id"
+     FILTER bug_link(original_bug_id) %]
 
 <p>
   When marking [% terms.abug %] as a duplicate, the reporter of the duplicate
   is normally added to the CC list of the original. The permissions
-  on [% terms.bug %] [%+ original_bug_id %] (the original) are currently set
+  on [% orig_bug FILTER none %] (the original) are currently set
   such that the reporter would not normally be able to see it.
 </p>
 
 <p>
-  <b>Adding the reporter to the CC list of [% terms.bug %] 
-    [%+ original_bug_id %]
+  <b>Adding the reporter to the CC list of [% orig_bug FILTER none %]
   [% IF cclist_accessible %]
     will immediately
   [% ELSE %]
 
 <p>
   <input type="radio" name="confirm_add_duplicate" value="1">
-    Yes, add the reporter to CC list on [% terms.bug %] [%+ original_bug_id %]
+    Yes, add the reporter to CC list on [% orig_bug FILTER none %]
 </p>
 <p>
   <input type="radio" name="confirm_add_duplicate" value="0" checked="checked">
-    No, do not add the reporter to CC list on [% terms.bug %] 
-    [%+ original_bug_id %]
+    No, do not add the reporter to CC list on [% orig_bug FILTER none %]
 </p>
 <p>
-  <a href="show_bug.cgi?id=[% duplicate_bug_id %]">Throw away my changes,
-    and revisit [% terms.bug %] [%+ duplicate_bug_id %]</a>
+  [% "Throw away my changes, and revisit $terms.bug $duplicate_bug_id"
+     FILTER bug_link(duplicate_bug_id) FILTER none %]
+</p>
 <p>
   <input type="submit" id="process" value="Submit">
 </p>
index 620744bf7d8028e85bde3cef748b66e2ba47d06f..b66be2ca7c8079dd5cab005636f2378e0ea7ca1f 100644 (file)
@@ -45,7 +45,9 @@
 <h1>Mid-air collision detected!</h1>
 
 <p>
-  Someone else has made changes to this [% terms.bug %] at the same time you were trying to.
+  Someone else has made changes to
+  [%+ "$terms.bug $bug_id" FILTER bug_link(bug_id) FILTER none %]
+  at the same time you were trying to.
   The changes made were:
 </p>
 
@@ -83,8 +85,8 @@ You have the following choices:
     </form>
   </li>
   <li>
-    <a href="show_bug.cgi?id=[% bug_id %]">Throw away my changes,
-      and revisit [% terms.bug %] [%+ bug_id %]</a>
+    Throw away my changes, and
+    [%+ "revisit $terms.bug $bug_id" FILTER bug_link(bug_id) FILTER none %]
   </li>
 </ul>
 
index ea5896730db6921b96982986f1f8f240361ec83d..88ccf874fb431233c76a69f5e369de70e83c80b1 100644 (file)
   'product.maxvotes', 
 ],
 
-'bug/process/confirm-duplicate.html.tmpl' => [
-  'original_bug_id', 
-  'duplicate_bug_id', 
-],
-
-'bug/process/midair.html.tmpl' => [
-  'bug_id', 
-],
-
 'bug/process/results.html.tmpl' => [
   'title.$type', 
   '"$terms.Bug $id" FILTER bug_link(id)',