[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_6 updated. 2197c3e192cc116deed52c311ff3dd0937548e0d
Evergreen Git
git at git.evergreen-ils.org
Tue Dec 16 14:31:07 EST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_6 has been updated
via 2197c3e192cc116deed52c311ff3dd0937548e0d (commit)
from e8b18ef6ab6654ef2f29fbf2e0fdca9b0c9188b0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2197c3e192cc116deed52c311ff3dd0937548e0d
Author: Dan Scott <dscott at laurentian.ca>
Date: Sun Dec 7 10:17:42 2014 -0500
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 at laurentian.ca>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2
index 88ef1b7..cda7603 100644
--- a/Open-ILS/src/templates/opac/parts/record/summary.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2
@@ -106,9 +106,9 @@
</tr>
[%- END %]
</tbody></table>
-[%- END %]
</div>
[%- END %]
+[%- END %]
[%- merged_uris = args.uris.merge(args.online_res);
num_uris = merged_uris.size;
IF num_uris > 0;
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/opac/parts/record/summary.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list