From e3bdbb5415c1d979dc923b188f4697fbcaee89aa Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 15 Nov 2006 02:30:53 +0000 Subject: Bug 115650: No TITLE attribute on buglinks on process_bug.cgi - Patch by victory(_RSZ_) r=LpSolit a=justdave --- .../en/default/bug/process/confirm-duplicate.html.tmpl | 18 +++++++++--------- template/en/default/bug/process/midair.html.tmpl | 8 +++++--- template/en/default/filterexceptions.pl | 9 --------- 3 files changed, 14 insertions(+), 21 deletions(-) diff --git a/template/en/default/bug/process/confirm-duplicate.html.tmpl b/template/en/default/bug/process/confirm-duplicate.html.tmpl index 4703af426..eb3b82b4f 100644 --- a/template/en/default/bug/process/confirm-duplicate.html.tmpl +++ b/template/en/default/bug/process/confirm-duplicate.html.tmpl @@ -29,19 +29,19 @@ #%] [% 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) %]

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.

- Adding the reporter to the CC list of [% terms.bug %] - [%+ original_bug_id %] + Adding the reporter to the CC list of [% orig_bug FILTER none %] [% IF cclist_accessible %] will immediately [% ELSE %] @@ -57,16 +57,16 @@

- 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 %]

- 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 %]

- Throw away my changes, - and revisit [% terms.bug %] [%+ duplicate_bug_id %] + [% "Throw away my changes, and revisit $terms.bug $duplicate_bug_id" + FILTER bug_link(duplicate_bug_id) FILTER none %] +

diff --git a/template/en/default/bug/process/midair.html.tmpl b/template/en/default/bug/process/midair.html.tmpl index 620744bf7..b66be2ca7 100644 --- a/template/en/default/bug/process/midair.html.tmpl +++ b/template/en/default/bug/process/midair.html.tmpl @@ -45,7 +45,9 @@

Mid-air collision detected!

- 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:

@@ -83,8 +85,8 @@ You have the following choices:
  • - Throw away my changes, - and revisit [% terms.bug %] [%+ bug_id %] + Throw away my changes, and + [%+ "revisit $terms.bug $bug_id" FILTER bug_link(bug_id) FILTER none %]
  • diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index ea5896730..88ccf874f 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -382,15 +382,6 @@ '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)', -- cgit v1.2.3-24-g4f1b