From 3acadb64e75f1fe82f528869482da6ea4e871f3e Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 3 Jul 2014 15:53:25 -0400 Subject: [PATCH] LP# 1337550 Remove AggregateOffer schema.org instance As our record details page lists each copy as a separate Offer (well, in many cases anyway, unless paging gets invoked), the AggregateOffer entity is not really necessary--and using it on the same page as separate Offer entities is not recommended by at least one search engine (per Google https://support.google.com/webmasters/answer/146750?hl=en says a given page should include "_one_ of the following: Offer or Offer-aggregate"). Signed-off-by: Dan Scott Signed-off-by: Ben Shum --- .../src/templates/opac/parts/record/copy_counts.tt2 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 index 9f86bc7c21..6e95ae7980 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 @@ -17,10 +17,7 @@ ou_name = cp_org_unit.name; displayed_ous.$ou_name = 1; %] -
  • - - - +
  • [% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %] [%- this_depth = ctx.get_aou(ou_id).ou_type.depth; IF ou_avail > 0 && this_depth != ctx.copy_depth %] @@ -38,10 +35,7 @@ UNLESS depth < 0 || displayed_ous.exists(ou_name); %] [%- IF attrs.plib_copy_counts.$depth.count > 0; %] -
  • - - - +
  • [%- l('[_1] of [quant,_2,copy,copies] available at [_3].', attrs.plib_copy_counts.$depth.available, -- 2.43.2