From f0950bea2d7f2fa9e5babe27a228ccefa05672d2 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 26 May 2015 09:09:27 -0400 Subject: [PATCH] Adds B4 Book Log icon and link to KPAC search results page and KPAC item details page. (This is a PINES-only customization.) --- Open-ILS/src/templates/kpac/parts/record_row.tt2 | 37 +++++++++++++++++++----- Open-ILS/src/templates/kpac/record.tt2 | 37 +++++++++++++++++++----- 2 files changed, 59 insertions(+), 15 deletions(-) diff --git a/Open-ILS/src/templates/kpac/parts/record_row.tt2 b/Open-ILS/src/templates/kpac/parts/record_row.tt2 index 38c39adb7f..feef90eb08 100644 --- a/Open-ILS/src/templates/kpac/parts/record_row.tt2 +++ b/Open-ILS/src/templates/kpac/parts/record_row.tt2 @@ -18,6 +18,36 @@ [% l('[_1], [_2]', attrs.publisher, attrs.pubdate) | html %] [% IF attrs.phys_desc %]
[% attrs.phys_desc | html; END %] + + [%- IF attrs.format_label %] + [% FOR format IN attrs.all_formats %] +
+
+ [% format.label | html %]
+ [% format.label | html %] +
+
+ [% END %] + + +
+
+ + Add to B4 Book Log
+ Add to B4
Book Log +
+
+ +
 
+ [% END %] + [% IF show_actions %]
-
-
-  [% attrs.format_label %]  - -
-
[% attrs.format_label %]
-
 
diff --git a/Open-ILS/src/templates/kpac/record.tt2 b/Open-ILS/src/templates/kpac/record.tt2 index 514c45f81e..1b28d94fca 100644 --- a/Open-ILS/src/templates/kpac/record.tt2 +++ b/Open-ILS/src/templates/kpac/record.tt2 @@ -4,7 +4,7 @@ WRAPPER "kpac/parts/subpage.tt2"; attrs = {marc_xml => ctx.marc_xml}; PROCESS get_marc_attrs args=attrs; - ctx.page_title = attrs.title | html + ctx.page_title = attrs.title | html %]
@@ -21,13 +21,7 @@
[% attrs.title | html %]
[% l('by [_1]', attrs.author) | html %]
-- 2.11.0