summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-10-11 00:51:10 +0200
committerlpsolit%gmail.com <>2008-10-11 00:51:10 +0200
commite5f4c8ddf62850fd27ba24dbd71cb5f128b184b0 (patch)
treeeabf5401d8d0cb3cf243d7d6082caa72a9bf8bb7
parentcffa99f0196539a041b36218662f414661c2759f (diff)
downloadbugzilla-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
-rw-r--r--template/en/default/list/table.html.tmpl13
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 %]