diff options
author | lpsolit%gmail.com <> | 2008-10-11 00:51:10 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-10-11 00:51:10 +0200 |
commit | e5f4c8ddf62850fd27ba24dbd71cb5f128b184b0 (patch) | |
tree | eabf5401d8d0cb3cf243d7d6082caa72a9bf8bb7 /template/en/default/list | |
parent | cffa99f0196539a041b36218662f414661c2759f (diff) | |
download | bugzilla-e5f4c8ddf62850fd27ba24dbd71cb5f128b184b0.tar.gz bugzilla-e5f4c8ddf62850fd27ba24dbd71cb5f128b184b0.tar.xz |
Bug 420862: Show abbreviated content in bug lists fully in tooltips - Patch by Mikhail Gusarov <dottedmag@altlinux.org> r/a=LpSolit
Diffstat (limited to 'template/en/default/list')
-rw-r--r-- | template/en/default/list/table.html.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 811ed026a..667d077f8 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -188,6 +188,16 @@ [% FOREACH column = displaycolumns %] <td [% 'style="white-space: nowrap"' IF NOT abbrev.$column.wrap %]> + [% IF abbrev.$column.maxlength %] + <span title=" + [%- IF column == 'bug_status' %] + [%- get_status(bug.$column) FILTER html %] + [% ELSIF column == 'resolution' %] + [%- get_resolution(bug.$column) FILTER html %] + [% ELSE %] + [%- bug.$column FILTER html %] + [% END %]"> + [% END %] [% IF abbrev.$column.format_value %] [%- bug.$column FILTER format(abbrev.$column.format_value) FILTER html -%] [% ELSIF column == 'actual_time' || @@ -201,6 +211,9 @@ [% ELSE %] [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%] [% END %] + [% IF abbrev.$column.maxlength %] + </span> + [% END %] </td> [% END %] |