diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index e09afe4341c..8845fdafde0 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8937 \ No newline at end of file +8938 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl index 276648b1cdb..28142593bf3 100644 --- a/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl @@ -181,9 +181,11 @@ [% FOREACH column = displaycolumns %] - [% col_abbrev = abbrev.$column %] - + [% col_abbrev = abbrev.$column %] + [% IF col_abbrev.maxlength %] [% END %] @@ -206,6 +208,8 @@ [%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%] + [% 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) %]