Commit e3bdbb54 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 115650: No TITLE attribute on buglinks on process_bug.cgi - Patch by…

Bug 115650: No TITLE attribute on buglinks on process_bug.cgi - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit a=justdave
parent b2df778f
...@@ -29,19 +29,19 @@ ...@@ -29,19 +29,19 @@
#%] #%]
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
[% PROCESS global/header.html.tmpl title="Duplicate Warning" %] [% PROCESS global/header.html.tmpl title="Duplicate Warning" %]
[% orig_bug = "$terms.bug $original_bug_id"
FILTER bug_link(original_bug_id) %]
<p> <p>
When marking [% terms.abug %] as a duplicate, the reporter of the duplicate When marking [% terms.abug %] as a duplicate, the reporter of the duplicate
is normally added to the CC list of the original. The permissions 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. such that the reporter would not normally be able to see it.
</p> </p>
<p> <p>
<b>Adding the reporter to the CC list of [% terms.bug %] <b>Adding the reporter to the CC list of [% orig_bug FILTER none %]
[%+ original_bug_id %]
[% IF cclist_accessible %] [% IF cclist_accessible %]
will immediately will immediately
[% ELSE %] [% ELSE %]
...@@ -57,16 +57,16 @@ ...@@ -57,16 +57,16 @@
<p> <p>
<input type="radio" name="confirm_add_duplicate" value="1"> <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>
<p> <p>
<input type="radio" name="confirm_add_duplicate" value="0" checked="checked"> <input type="radio" name="confirm_add_duplicate" value="0" checked="checked">
No, do not add the reporter to CC list on [% terms.bug %] No, do not add the reporter to CC list on [% orig_bug FILTER none %]
[%+ original_bug_id %]
</p> </p>
<p> <p>
<a href="show_bug.cgi?id=[% duplicate_bug_id %]">Throw away my changes, [% "Throw away my changes, and revisit $terms.bug $duplicate_bug_id"
and revisit [% terms.bug %] [%+ duplicate_bug_id %]</a> FILTER bug_link(duplicate_bug_id) FILTER none %]
</p>
<p> <p>
<input type="submit" id="process" value="Submit"> <input type="submit" id="process" value="Submit">
</p> </p>
......
...@@ -45,7 +45,9 @@ ...@@ -45,7 +45,9 @@
<h1>Mid-air collision detected!</h1> <h1>Mid-air collision detected!</h1>
<p> <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: The changes made were:
</p> </p>
...@@ -83,8 +85,8 @@ You have the following choices: ...@@ -83,8 +85,8 @@ You have the following choices:
</form> </form>
</li> </li>
<li> <li>
<a href="show_bug.cgi?id=[% bug_id %]">Throw away my changes, Throw away my changes, and
and revisit [% terms.bug %] [%+ bug_id %]</a> [%+ "revisit $terms.bug $bug_id" FILTER bug_link(bug_id) FILTER none %]
</li> </li>
</ul> </ul>
......
...@@ -382,15 +382,6 @@ ...@@ -382,15 +382,6 @@
'product.maxvotes', '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' => [ 'bug/process/results.html.tmpl' => [
'title.$type', 'title.$type',
'"$terms.Bug $id" FILTER bug_link(id)', '"$terms.Bug $id" FILTER bug_link(id)',
......
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