aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerv%gerv.net <>2004-02-03 05:57:28 +0000
committergerv%gerv.net <>2004-02-03 05:57:28 +0000
commit0ddb93f7e273ccca157cd87dc2f327a00e5846ed (patch)
tree6081c6e4e416fae40f23471317538dee2f4f51d9
parent24768fc13a1b5de340203450fbc217d8e28c1945 (diff)
downloadbugs-0ddb93f7e273ccca157cd87dc2f327a00e5846ed.tar
bugs-0ddb93f7e273ccca157cd87dc2f327a00e5846ed.tar.gz
bugs-0ddb93f7e273ccca157cd87dc2f327a00e5846ed.tar.bz2
bugs-0ddb93f7e273ccca157cd87dc2f327a00e5846ed.tar.xz
bugs-0ddb93f7e273ccca157cd87dc2f327a00e5846ed.zip
Bug 232413 - remove occurrences of &nbsp; in favour of [%+ construct to prevent whitespace chomping. Patch by gerv; r=kiko, a=justdave.
-rw-r--r--template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl3
-rw-r--r--template/en/default/attachment/updated.html.tmpl2
-rw-r--r--template/en/default/bug/activity/show.html.tmpl3
-rw-r--r--template/en/default/bug/dependency-tree.html.tmpl4
-rw-r--r--template/en/default/bug/edit.html.tmpl4
-rw-r--r--template/en/default/bug/process/confirm-duplicate.html.tmpl12
-rw-r--r--template/en/default/bug/process/midair.html.tmpl2
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl2
-rw-r--r--template/en/default/global/user-error.html.tmpl2
-rw-r--r--template/en/default/list/list.html.tmpl4
10 files changed, 21 insertions, 17 deletions
diff --git a/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl b/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl
index 5d03c6f60..006189c13 100644
--- a/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl
+++ b/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl
@@ -26,7 +26,8 @@
[% FOREACH group = mandatory_groups %]
<P>
-group '[% group.name FILTER html %]' impacts [% group.count %]&nbsp;[% terms.bugs %] for
+group '[% group.name FILTER html %]' impacts [% group.count %]
+[%+ terms.bugs %] for
which the group is newly mandatory and will be added.
[% END %]
diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl
index de9760919..de56341e0 100644
--- a/template/en/default/attachment/updated.html.tmpl
+++ b/template/en/default/attachment/updated.html.tmpl
@@ -39,7 +39,7 @@
<td>
<h2>Changes to
<a href="attachment.cgi?id=[% attachid %]&amp;action=edit">attachment [% attachid %]</a>
- of [% terms.bug %]&nbsp;[% bugid %] submitted
+ of [% terms.bug %] [%+ bugid %] submitted
</h2>
[% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %]
</td>
diff --git a/template/en/default/bug/activity/show.html.tmpl b/template/en/default/bug/activity/show.html.tmpl
index 410efe2ee..91743247a 100644
--- a/template/en/default/bug/activity/show.html.tmpl
+++ b/template/en/default/bug/activity/show.html.tmpl
@@ -39,7 +39,8 @@
[% PROCESS bug/activity/table.html.tmpl %]
<p>
- <a href="show_bug.cgi?id=[% bug_id %]">Back to [% terms.bug %]&nbsp;[% bug_id %]</a>
+ <a href="show_bug.cgi?id=[% bug_id %]">Back to [% terms.bug %]
+ [%+ bug_id %]</a>
</p>
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl
index fbb683265..7d32c8acc 100644
--- a/template/en/default/bug/dependency-tree.html.tmpl
+++ b/template/en/default/bug/dependency-tree.html.tmpl
@@ -38,7 +38,7 @@
[% ELSE %]
[% terms.Bugs %]
[% END %]
- that <a href="show_bug.cgi?id=[% bugid %]">[% terms.bug %]&nbsp;[% bugid %]</a>
+ that <a href="show_bug.cgi?id=[% bugid %]">[% terms.bug %] [%+ bugid %]</a>
depends on</h3>
[% IF dependson_ids.size > 0 %]
(
@@ -60,7 +60,7 @@
[% ELSE %]
[% terms.Bugs %]
[% END %]
- that <a href="show_bug.cgi?id=[% bugid %]">[% terms.bug %]&nbsp;[% bugid %]</a>
+ that <a href="show_bug.cgi?id=[% bugid %]">[% terms.bug %] [%+ bugid %]</a>
blocks</h3>
[% IF blocked_ids.size > 0 %]
(
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 43f030ef2..e912196ca 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -226,7 +226,7 @@
<td>
[% bug.resolution FILTER html %]
[% IF bug.resolution == "DUPLICATE" %]
- of [% terms.bug %]&nbsp;[% "${bug.dup_id}" FILTER bug_link(bug.dup_id) %]
+ of [% terms.bug %] [%+ "${bug.dup_id}" FILTER bug_link(bug.dup_id) %]
[% END %]
</td>
<td>&nbsp;</td>
@@ -546,7 +546,7 @@
[%############################################################################%]
[% BLOCK dependencies %]
- <th align="right">[% terms.Bug %]&nbsp;[% bug.bug_id %] [%+ dep.title %]:</th>
+ <th align="right">[% terms.Bug %] [%+ bug.bug_id %] [%+ dep.title %]:</th>
<td>
[% FOREACH depbug = bug.${dep.fieldname} %]
[% depbug FILTER bug_link(depbug) %][% " " %]
diff --git a/template/en/default/bug/process/confirm-duplicate.html.tmpl b/template/en/default/bug/process/confirm-duplicate.html.tmpl
index de32c12e5..7fd72a2d0 100644
--- a/template/en/default/bug/process/confirm-duplicate.html.tmpl
+++ b/template/en/default/bug/process/confirm-duplicate.html.tmpl
@@ -37,12 +37,13 @@
<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 %]&nbsp;[% original_bug_id %] (the original) are currently set
+ on [% terms.bug %] [%+ original_bug_id %] (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 %]&nbsp;[% original_bug_id %]
+ <b>Adding the reporter to the CC list of [% terms.bug %]
+ [%+ original_bug_id %]
[% IF cclist_accessible %]
will immediately
[% ELSE %]
@@ -58,15 +59,16 @@
<p>
<input type="radio" name="confirm_add_duplicate" value="1">
- Yes, add the reporter to CC list on [% terms.bug %]&nbsp;[% original_bug_id %]
+ Yes, add the reporter to CC list on [% terms.bug %] [%+ original_bug_id %]
</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 %]&nbsp;[% original_bug_id %]
+ No, do not add the reporter to CC list on [% terms.bug %]
+ [%+ original_bug_id %]
</p>
<p>
<a href="show_bug.cgi?id=[% duplicate_bug_id %]">Throw away my changes,
- and revisit [% terms.bug %]&nbsp;[% duplicate_bug_id %]</a>
+ and revisit [% terms.bug %] [%+ duplicate_bug_id %]</a>
<p>
<input type="submit" value="Submit">
</p>
diff --git a/template/en/default/bug/process/midair.html.tmpl b/template/en/default/bug/process/midair.html.tmpl
index f06e4a749..de6559582 100644
--- a/template/en/default/bug/process/midair.html.tmpl
+++ b/template/en/default/bug/process/midair.html.tmpl
@@ -75,7 +75,7 @@ You have the following choices:
</li>
<li>
<a href="show_bug.cgi?id=[% bug_id %]">Throw away my changes,
- and revisit [% terms.bug %]&nbsp;[% bug_id %]</a>
+ and revisit [% terms.bug %] [%+ bug_id %]</a>
</li>
</ul>
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index ac3578305..d9e3ed546 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -49,7 +49,7 @@
<img alt="" src="1x1.gif" width="1" height="80" align="left">
<div align="center">
<b>
- <font size="+3">[% terms.Bug %]&nbsp;[% bug.bug_id %] - [% bug.short_desc FILTER html %]</font>
+ <font size="+3">[% terms.Bug %] [%+ bug.bug_id %] - [% bug.short_desc FILTER html %]</font>
</b>
</div>
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 37eb7bd5b..ac6af177b 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -210,7 +210,7 @@
You asked [% requestee.identity FILTER html %]
for <code>[% flag_type.name FILTER html %]</code> on
- [%+ terms.bug %]&nbsp;[% bug_id FILTER html %],
+ [%+ terms.bug %] [%+ bug_id FILTER html %],
attachment [% attach_id FILTER html %], but that attachment is restricted
to users
in the [% Param("insidergroup") FILTER html %] group, and the user
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 5af5735aa..97b659c73 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -72,7 +72,7 @@
[%############################################################################%]
[% IF bugs.size > 9 %]
- [% bugs.size %]&nbsp;[% terms.bugs %] found.
+ [% bugs.size %] [%+ terms.bugs %] found.
[% END %]
[%############################################################################%]
@@ -99,7 +99,7 @@
[% ELSIF bugs.size == 1 %]
One [% terms.bug %] found.
[% ELSE %]
- [% bugs.size %]&nbsp;[% terms.bugs %] found.
+ [% bugs.size %] [%+ terms.bugs %] found.
[% END %]
<br>