]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1400100 - Avoid extra </div> when OpenURL is enabled
authorDan Scott <dscott@laurentian.ca>
Sun, 7 Dec 2014 15:17:42 +0000 (10:17 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 16 Dec 2014 19:30:55 +0000 (14:30 -0500)
commit85ccb0cd0a52a02e112bfc874dc8ccbe8281cdbc
treeed30b7a4dac5dd075ee96ee3a3924b07f0deccfc
parentd13e70ed27b9da1475c4e534f4fe30925193b1d6
LP#1400100 - Avoid extra </div> when OpenURL is enabled

When the OpenURL resolver is enabled, the record summary.tt2 page always
inserts a </div>, whether or not there actually are any OpenURL results to
point at (which is the condition that triggers the opening <div>).

This has the effect of resulting in the generated RDFa not including anything
below the OpenURL section, effectvely preventing the schema.org/Offer types
from being associated with the record. Which is not good for the semantic web
of library data.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/summary.tt2