summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/table.html.tmpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 276648b1c..28142593b 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -181,9 +181,11 @@
</td>
[% FOREACH column = displaycolumns %]
- [% col_abbrev = abbrev.$column %]
- <td [% 'class="nowrap"' IF NOT col_abbrev.wrap %]
- class="bz_[% column FILTER css_class_quote %]_column">
+ [% col_abbrev = abbrev.$column %]
+ <td class="bz_[% column FILTER css_class_quote %]_column
+ [%~ ' nowrap' UNLESS col_abbrev.wrap
+ OR bug_fields.$column.type == constants.FIELD_TYPE_FREETEXT
+ OR bug_fields.$column.type == constants.FIELD_TYPE_TEXTAREA %]">
[% IF col_abbrev.maxlength %]
<span title="[%- display_value(column, bug.$column) FILTER html %]">
[% END %]
@@ -206,6 +208,8 @@
<a href="show_bug.cgi?id=[% bug.$column FILTER html %]">
[%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%]
</a>
+ [% ELSIF bug_fields.$column.type == constants.FIELD_TYPE_TEXTAREA %]
+ [%- bug.$column.truncate(256, '...') FILTER html -%]
[% ELSIF column == 'bug_file_loc' && is_safe_url(bug.bug_file_loc) %]
<a href="[% bug.bug_file_loc FILTER html %]" target="_blank"
title="[% bug.bug_file_loc FILTER html %]">