TPAC: Add format icon back to record details
authorBen Shum <bshum@biblio.org>
Thu, 26 Sep 2013 02:36:29 +0000 (22:36 -0400)
committerDan Wells <dbw2@calvin.edu>
Thu, 26 Sep 2013 12:51:03 +0000 (08:51 -0400)
Similar to 502f93acff9a5713668931c980d6ce25962a1f8c finding compromise by
putting the format icon back right next to the format label.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/parts/record/summary.tt2

index 6d78327..0f892d4 100644 (file)
@@ -35,7 +35,7 @@
     <div id="format_actions">
         [%- IF attrs.format_label %]
         <div id="rdetail_format_label">
-            [%- attrs.format_label -%]
+            <img alt="[% attrs.format_label %]" title="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" /> [%- attrs.format_label -%]
         </div>
         [%- END %]
         <div id="rdetail_actions_div">