aboutsummaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-03-11 19:04:36 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-03-11 19:04:36 +0100
commitc26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b (patch)
tree64f3f231f9e04ec1165af6191e5b6cbe6640adc0 /template/en
parent91e07807a8940776557a86134546bc4a7997cd0a (diff)
downloadbugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar.gz
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar.bz2
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar.xz
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.zip
Bug 880282: Replace |FILTER no_break| by |class="nowrap"| to prevent dashes (U+002D) from being replaced by non-breaking hyphens/dashes (U+2011)
r=dkl a=justdave
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl4
-rw-r--r--template/en/default/attachment/list.html.tmpl2
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl4
-rw-r--r--template/en/default/flag/list.html.tmpl6
-rw-r--r--template/en/default/global/choose-product.html.tmpl4
-rw-r--r--template/en/default/global/useful-links.html.tmpl2
6 files changed, 12 insertions, 10 deletions
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl
index f4836ca7d..b91b49199 100644
--- a/template/en/default/admin/flag-type/list.html.tmpl
+++ b/template/en/default/admin/flag-type/list.html.tmpl
@@ -109,7 +109,9 @@
[% FOREACH type = types %]
<tr class="[% IF type.is_active %]active[% ELSE %]inactive[% END %]">
- <td><a href="editflagtypes.cgi?action=edit&amp;id=[% type.id %]">[% type.name FILTER html FILTER no_break %]</a></td>
+ <td class="nowrap">
+ <a href="editflagtypes.cgi?action=edit&amp;id=[% type.id %]">[% type.name FILTER html %]</a>
+ </td>
<td>[% type.description FILTER html %]</td>
<td class="right">[% type.sortkey FILTER html %]</td>
<td>
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 4599f38ed..9676dd67b 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -114,7 +114,7 @@ function toggle_display(link) {
[% ELSE %]
[% flag.setter.nick FILTER html %]:
[% END %]
- [%+ flag.type.name FILTER html FILTER no_break %][% flag.status %]
+ [%+ flag.type.name FILTER html %][% flag.status %]
[%+ IF flag.status == "?" && flag.requestee %]
[% IF user.id %]
(<span title="[% flag.requestee.identity FILTER html %]">[% flag.requestee.nick FILTER html %]</span>)
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index 99dd53215..8babdf04a 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -263,7 +263,7 @@
[% ELSE %]
[% FOREACH flag = attachment.flags %]
[% flag.setter.nick FILTER html %]:
- [%+ flag.type.name FILTER html FILTER no_break %][% flag.status %]
+ <span class="nowrap">[%+ flag.type.name FILTER html %][% flag.status %]</span>
[% IF flag.status == "?" && flag.requestee %]
([% flag.requestee.nick FILTER html %])
[% END %][% ", " IF not loop.last() %]
@@ -352,7 +352,7 @@
[% FOREACH type = bug.flag_types %]
[% FOREACH flag = type.flags %]
[% flag.setter.nick FILTER html %]:
- [%+ flag.type.name FILTER html FILTER no_break %][% flag.status %]
+ <span class="nowrap">[%+ flag.type.name FILTER html %][% flag.status %]</span>
[%+ IF flag.status == "?" && flag.requestee %]
([% flag.requestee.nick FILTER html %])
[% END %]<br>
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 7547e5687..047fd4425 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -80,7 +80,7 @@
[% ELSE %]
[% flag.setter.nick FILTER html %]:
[% END %]
- [%+ type.name FILTER html FILTER no_break %][% flag.status %]
+ <span class="nowrap">[%+ type.name FILTER html %][% flag.status %]</span>
[% IF flag.requestee %]
[% IF flag.requestee.name %]
(<span title="[% flag.requestee.name FILTER html %]">[% flag.requestee.nick FILTER html %]</span>)
@@ -107,9 +107,9 @@
[% addl_text FILTER html %]
[% END %]
</td>
- <td>
+ <td class="nowrap">
<label title="[% type.description FILTER html %]" for="[% fid FILTER html %]">
- [%- type.name FILTER html FILTER no_break -%]</label>
+ [%- type.name FILTER html %]</label>
</td>
<td>
<input type="hidden" id="[% fid FILTER html %]_dirty">
diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl
index 7349d1ced..a1582532a 100644
--- a/template/en/default/global/choose-product.html.tmpl
+++ b/template/en/default/global/choose-product.html.tmpl
@@ -45,10 +45,10 @@
[% FOREACH p = c.products %]
<tr>
- <th class="right">
+ <th class="right nowrap">
<a href="[% target %]?product=[% p.name FILTER uri -%]
[%- IF previous_params %]&amp;[% previous_params FILTER none %][% END -%]">
- [% p.name FILTER html FILTER no_break %]</a>:&nbsp;
+ [% p.name FILTER html %]</a>:
</th>
<td>[% p.description FILTER html_light %]</td>
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index 97c7f709c..5c5bfc316 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -46,7 +46,7 @@
<a href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=
[%- q.name FILTER uri %]&amp;sharer_id=[% q.user.id FILTER uri %]"
class="shared" title="Shared by [% q.user.identity FILTER html %]">
- [%- q.name FILTER html FILTER no_break %]</a>
+ [%- q.name FILTER html %]</a>
</li>
[% END %]
</ul>