[open-ils-commits] [GIT] Evergreen ILS branch rel_2_9 updated. 61cb9fad1d6648b7fad32d58f6a5c94b827b10e7

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, rel_2_9 has been updated
       via  61cb9fad1d6648b7fad32d58f6a5c94b827b10e7 (commit)
      from  017a05cfc9ffeb214d6ee2de0b420e061d9735e0 (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 61cb9fad1d6648b7fad32d58f6a5c94b827b10e7
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