diff options
author | bbaetz%student.usyd.edu.au <> | 2002-07-01 12:28:50 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-07-01 12:28:50 +0200 |
commit | aa7127c201ab8be7b6ba7f70767086c4fc6d1e44 (patch) | |
tree | eab4af26dc4ce8cbbbd9558faf559a8517251f7d /template/en | |
parent | 3d5db0fc3ba11a5fee1428466a1542bca7551287 (diff) | |
download | bugzilla-aa7127c201ab8be7b6ba7f70767086c4fc6d1e44.tar.gz bugzilla-aa7127c201ab8be7b6ba7f70767086c4fc6d1e44.tar.xz |
Bug 150770 - Lost <nobr> arround query results
r=jouni, justdave
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/list/table.html.tmpl | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index d8c443775..40207f3d6 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -106,7 +106,9 @@ [% FOREACH q = user.queries %] [% IF q.linkinfooter %] [% " | " IF print_pipe %] - <a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name FILTER url_quote %]">[% q.name FILTER html FILTER no_break %]</a> + <a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name FILTER url_quote %]"> + <nobr>[% q.name FILTER html %]</nobr> + </a> [% print_pipe = 1 %] [% END %] [% END %] diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 765883319..6d5ee0d6c 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -28,6 +28,8 @@ # the shortened title is included. For columns whose values should be # abbreviated, a maximum length is provided along with the ellipsis that # should be added to an abbreviated value, if any. + # wrap is set if a column's contents should be allowed to be word-wrapped + # by the browser. #%] [% abbrev = { @@ -39,8 +41,9 @@ "owner" => { maxlength => 30 , ellipsis => "..." } , "qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } , "resolution" => { maxlength => 4 } , - "summary" => { maxlength => 60 , ellipsis => "..." } , - "status_whiteboard" => { title => "StatusSummary" } , + "summary" => { maxlength => 60 , ellipsis => "..." , wrap => 1 } , + "summaryfull" => { wrap => 1 } , + "status_whiteboard" => { title => "StatusSummary" , wrap => 1 } , "component" => { maxlength => 8 , title => "Comp" } , "product" => { maxlength => 8 } , "version" => { maxlength => 5 , title => "Vers" } , @@ -128,7 +131,9 @@ [% FOREACH column = displaycolumns %] <td> - [%+ bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %] + [% '<nobr>' IF NOT abbrev.$column.wrap %] + [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%] + [%- '</nobr>' IF NOT abbrev.$column.wrap %] </td> [% END %] |