Commit 771b2716 authored by timeless%mozdev.org's avatar timeless%mozdev.org

Bug 365506 admin/products/updated uses strange mark up

patch by bmo2007@rsz.jp r=timeless a=justdave
parent 8fe916e4
...@@ -67,13 +67,14 @@ ...@@ -67,13 +67,14 @@
<a href="editproducts.cgi?action=edit&amp;product= <a href="editproducts.cgi?action=edit&amp;product=
[%- product.name FILTER url_quote %] [%- product.name FILTER url_quote %]
[%- classification_url_part FILTER none %]">[% product.name FILTER html %]</a>. [%- classification_url_part FILTER none %]">[% product.name FILTER html %]</a>.
</p>
[% updated = 1 %] [% updated = 1 %]
[% END %] [% END %]
[% IF product.description != old_product.description %] [% IF product.description != old_product.description %]
<p> <p>
Updated description to:</p> Updated description to:
</p> </p>
<p style="margin: 1em 3em 1em 3em">[% product.description FILTER html_light %]</p> <p style="margin: 1em 3em 1em 3em">[% product.description FILTER html_light %]</p>
[% updated = 1 %] [% updated = 1 %]
...@@ -88,6 +89,7 @@ ...@@ -88,6 +89,7 @@
open for open for
[% END %] [% END %]
new [% terms.bugs %]. new [% terms.bugs %].
</p>
[% updated = 1 %] [% updated = 1 %]
[% END %] [% END %]
...@@ -122,6 +124,7 @@ ...@@ -122,6 +124,7 @@
Updated votes per user from Updated votes per user from
[%+ old_product.votes_per_user FILTER html %] to [%+ old_product.votes_per_user FILTER html %] to
[%+ product.votes_per_user FILTER html %]. [%+ product.votes_per_user FILTER html %].
</p>
[% updated = 1 %] [% updated = 1 %]
[% END %] [% END %]
...@@ -130,6 +133,7 @@ ...@@ -130,6 +133,7 @@
Updated maximum votes per [% terms.bug %] from Updated maximum votes per [% terms.bug %] from
[%+ old_product.max_votes_per_bug FILTER html %] to [%+ old_product.max_votes_per_bug FILTER html %] to
[%+ product.max_votes_per_bug FILTER html %]. [%+ product.max_votes_per_bug FILTER html %].
</p>
[% updated = 1 %] [% updated = 1 %]
[% END %] [% END %]
...@@ -138,11 +142,12 @@ ...@@ -138,11 +142,12 @@
Updated number of votes needed to confirm a [% terms.bug %] from Updated number of votes needed to confirm a [% terms.bug %] from
[%+ old_product.votes_to_confirm FILTER html %] to [%+ old_product.votes_to_confirm FILTER html %] to
[%+ product.votes_to_confirm FILTER html %]. [%+ product.votes_to_confirm FILTER html %].
</p>
[% updated = 1 %] [% updated = 1 %]
[% END %] [% END %]
[% UNLESS updated %] [% UNLESS updated %]
<p>Nothing changed for product '[% product.name FILTER html %]'. <p>Nothing changed for product '[% product.name FILTER html %]'.</p>
[% END %] [% END %]
[%# Note that this display of changed votes and/or confirmed bugs is [%# Note that this display of changed votes and/or confirmed bugs is
...@@ -164,6 +169,7 @@ ...@@ -164,6 +169,7 @@
[% ELSE %] [% ELSE %]
&rarr;there were none. &rarr;there were none.
[% END %] [% END %]
</p>
<p>Checking existing votes in this product for anybody <p>Checking existing votes in this product for anybody
who now has too many total votes...<br> who now has too many total votes...<br>
...@@ -176,6 +182,7 @@ ...@@ -176,6 +182,7 @@
[% ELSE %] [% ELSE %]
&rarr;there were none. &rarr;there were none.
[% END %] [% END %]
</p>
<p>Checking unconfirmed [% terms.bugs %] in this product for any which now have <p>Checking unconfirmed [% terms.bugs %] in this product for any which now have
sufficient votes...<br> sufficient votes...<br>
...@@ -194,6 +201,7 @@ ...@@ -194,6 +201,7 @@
[% ELSE %] [% ELSE %]
&rarr;there were none. &rarr;there were none.
[% END %] [% END %]
</p>
[% END %] [% END %]
......
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