[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_7 updated. d75c738ca6722bd395362f0f2bfab807e3d8442e

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_7 has been updated
       via  d75c738ca6722bd395362f0f2bfab807e3d8442e (commit)
      from  cbd5f865322db3fdd2043d9189fbf3e79d0b3dae (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 d75c738ca6722bd395362f0f2bfab807e3d8442e
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