[open-ils-commits] [GIT] Evergreen ILS branch master updated. b55b3cafbb9c64c39b1ad1fbbc0074066d616bba

Evergreen Git git at git.evergreen-ils.org
Wed Aug 3 08:44:15 EDT 2016


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  b55b3cafbb9c64c39b1ad1fbbc0074066d616bba (commit)
      from  d5ce5929495c31eeac6bfdc3df6bd3e275a3ed0d (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 b55b3cafbb9c64c39b1ad1fbbc0074066d616bba
Author: Dan Scott <dscott at laurentian.ca>
Date:   Mon Aug 1 18:09:04 2016 -0400

    LP#1608711: Update schema.org property name from "seller" to "offeredBy"
    
    Per the 2015-11-05 release of schema.org
    (http://schema.org/docs/releases.html#v2.2), the "offeredBy" property is now
    the preferred property to use for non-commercial entities (such as libraries)
    making an offer of an item for borrowing, sale, etc.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Ben Shum <ben at evergreener.net>

diff --git a/Open-ILS/src/templates/opac/parts/library_name_link.tt2 b/Open-ILS/src/templates/opac/parts/library_name_link.tt2
index 3179e5f..0d00644 100644
--- a/Open-ILS/src/templates/opac/parts/library_name_link.tt2
+++ b/Open-ILS/src/templates/opac/parts/library_name_link.tt2
@@ -11,7 +11,7 @@
     UNLESS lib_url && prefer_external_url;
         lib_url = mkurl(opac_root _ '/library/' _ ctx.get_aou(copy_info.circ_lib).shortname, {}, 1);
     END; 
-    IF lib_url; '<a property="seller" typeof="Library" href="'; lib_url | url; '">'; END;
+    IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | url; '">'; END;
     '<span property="name">'; org_name | html; '</span>';
     IF lib_url; '</a>'; END;
 -%]

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/opac/parts/library_name_link.tt2 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list