Bug 6594: Correct schema.org context for item status
authorDan Scott <dan@coffeecode.net>
Thu, 22 Aug 2013 15:29:28 +0000 (11:29 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 28 Aug 2013 13:49:57 +0000 (13:49 +0000)
We were inserting the <link> element inside an open <td> element, which
HTML parsers, even the most forgiving, do not like very much.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt

index cc05199..88fc9b0 100644 (file)
@@ -1542,7 +1542,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
               </td>
             [% END %]
                [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
-              <td class="status" [% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %]>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
+              <td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
              [% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes %]</td>[% END %]
         <td class="date_due"><span title="[% ITEM_RESULT.datedue %]">[% ITEM_RESULT.datedue | $KohaDates %]</span></td>
         [% IF ( OPACShowBarcode ) %]<td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode %]</td>[% END %]