move format icon to beginning of title
authorWilliam Rockwood <wrockwood@tadl.org>
Wed, 21 Nov 2012 20:58:50 +0000 (15:58 -0500)
committerWilliam Rockwood <wrockwood@tadl.org>
Wed, 21 Nov 2012 21:05:27 +0000 (16:05 -0500)
- Commented out existing bit that inserts the image between title
  table and toolbox.
- Added image before title.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
templates_tadlskin/opac/parts/result/table.tt2

index a8f570b..7bff512 100644 (file)
@@ -57,6 +57,9 @@
                                             </td>
                                             <td class='result_table_title_cell' name='result_table_title_cell'>
                                                 <div class="bold bigger">
+                                                [% IF attrs.format_icon %]
+                                                <img title="[% attrs.format_label | html %]" alt="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" />
+                                                [% END %]
                                                     <a name='record_[% rec.id %]' name='item_title'
                                                         href="[% mkurl(ctx.opac_root _ '/record/' _ rec.id) %]"
                                                         [% HTML.attributes(title => l('Display record details for "[_1]"', attrs.title)) %]
                                             </td>
 
                                             <td name='result_table_format_cell' class='result_table_format_cell' width="1">
-
+                                                <!--
                                                 [% IF attrs.format_icon %]
                                                 <img title="[% attrs.format_label | html %]" alt="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" />
                                                 [% END %]
-
+                                                -->
                                                 <!-- unAPI link -->
                                                 <abbr class="unapi-id" title='tag:[% ctx.hostname %],[% date.format(date.now, '%Y') %]:biblio-record_entry/[% rec.id %]'></abbr>