]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 420862: Show abbreviated content in bug lists fully in tooltips - Patch by Mikhai...
authorlpsolit%gmail.com <>
Fri, 10 Oct 2008 22:51:10 +0000 (22:51 +0000)
committerlpsolit%gmail.com <>
Fri, 10 Oct 2008 22:51:10 +0000 (22:51 +0000)
template/en/default/list/table.html.tmpl

index 811ed026a82e00064060f8e00de0f21884c0d2c4..667d077f8ba81dd3f3ab706b1f23bb5e24e8eeaa 100644 (file)
 
     [% 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' ||
       [% ELSE %]
         [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
       [% END %]
+      [% IF abbrev.$column.maxlength %]
+        </span>
+      [% END %]
     </td>
     [% END %]