Tpac; holds edit page format icon improvements
authorBill Erickson <berick@esilibrary.com>
Thu, 27 Oct 2011 16:12:40 +0000 (12:12 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 28 Oct 2011 14:33:33 +0000 (10:33 -0400)
* Fixed the image path to the format_icon
* Use the format_label as the title for the format_icon image

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/opac/myopac/holds/edit.tt2

index 256b385..080cf68 100644 (file)
@@ -27,7 +27,7 @@
             <h2>[% attrs.author | html %]</h2>
             [% IF attrs.format_icon %]<p>
                 <strong>[% l('Format:') %]</strong>
-                <img src="[% ctx.media_prefix %]/images/[% attrs.format_icon %]" alt="[% attrs.format %]" title="[% attrs.title | html %]" />
+                <img src="[% attrs.format_icon %]" alt="[% attrs.format_label | html %]" title="[% attrs.format_label | html %]" />
             </p>[% END %]
             <p>
                 <strong>[% l('Status') %]</strong>: [% hold.human_status %]