[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 85ccb0cd0a52a02e112bfc874dc8ccbe8281cdbc

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, master has been updated
       via  85ccb0cd0a52a02e112bfc874dc8ccbe8281cdbc (commit)
      from  d13e70ed27b9da1475c4e534f4fe30925193b1d6 (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 85ccb0cd0a52a02e112bfc874dc8ccbe8281cdbc
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 d5aacb4..79ab4ff 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