From 21bc07079d265b90c5e0a780718810ac3b384b4d Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 22 Aug 2013 18:30:34 -0400 Subject: [PATCH 1/1] Schema.org: relate offers to record explicitly Although schema.org defines the nested child elements as implicit relationships that should be good enough for the Offer-to-Product relationship, defining that relationship explicitly can't hurt. Signed-off-by: Dan Scott Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/parts/record/body.tt2 | 2 +- Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 | 2 ++ Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/record/body.tt2 b/Open-ILS/src/templates/opac/parts/record/body.tt2 index b8ba910206..bdb5f41ae8 100644 --- a/Open-ILS/src/templates/opac/parts/record/body.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/body.tt2 @@ -4,7 +4,7 @@ stop_parms = ['expand','cnoffset','copy_offset','copy_limit']; ctx.record_attrs = attrs; # capture for JS %] -
+
[%- INCLUDE "opac/parts/record/navigation.tt2" %] [%- IF ctx.bib_is_dead %]
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 fd97eabc6f..9f86bc7c21 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 @@ -18,6 +18,7 @@ displayed_ous.$ou_name = 1; %]
  • + [% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %] @@ -38,6 +39,7 @@ %] [%- IF attrs.plib_copy_counts.$depth.count > 0; %]
  • + [%- diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index b275c9fffd..41268f3870 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -102,6 +102,7 @@ END; # FOREACH bib IF lib_url; ''; END; -%] + [% END %] [% callnum | html %] [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %](Text)[% END %] [%- IF has_parts == 'true' %] -- 2.43.2