Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-MARCdetail.tt
index eb9e0e1..f4ca095 100644 (file)
@@ -1,5 +1,6 @@
 [% USE Koha %]
-[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›  MARC details for record no. [% biblionumber %]
+[% INCLUDE 'doc-head-open.inc' %]
+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  MARC details for record no. [% biblionumber %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% BLOCK cssinclude %][% END %]
 </head>
                                 <table id="items" class="table table-bordered table-condensed table-striped">
                                     <caption>Holdings</caption>
                                         <tr>
-                                            [% FOREACH item_header_loo IN item_header_loop %]
-                                                <th>
-                                                    [% item_header_loo.header_value %]
-                                                </th>
+                                            [% FOREACH header IN item_header_loop %]
+                                                <th>[% header %]</th>
                                             [% END %]
                                         </tr>
-                                        [% FOREACH item_loo IN item_loop %]
+                                        [% FOREACH item IN item_loop %]
                                             <tr>
-                                                [% item_loo.item_value %]
+                                                [% FOREACH sf_code IN item_subfield_codes %]
+                                                    <td>[% item.$sf_code %]</td>
+                                                [% END %]
                                             </tr>
                                         [% END %]
                                 </table>