LP#1400100 - Avoid extra </div> when OpenURL is enabled user/dbs/lp1400100_fix_copy_scope
authorDan Scott <dscott@laurentian.ca>
Sun, 7 Dec 2014 15:17:42 +0000 (10:17 -0500)
committerDan Scott <dscott@laurentian.ca>
Sun, 7 Dec 2014 15:17:42 +0000 (10:17 -0500)
commitbbb0095b20bdf501d55f30296ca8e2a47a888ded
treecd6d43776847512a0bab660706f57bbfc8ae1c1d
parentd7e1c5e5389db5b6bc3e4d25ef9942d78a76902c
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>
Open-ILS/src/templates/opac/parts/record/summary.tt2