From b89400257f4e08f2636798df15ae1f6cf3c1e3ff Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 14 Dec 2015 12:09:46 -0500 Subject: [PATCH] Removed added content from the KPAC for now since it doesn't display properly. Signed-off-by: Terran McCanna --- Open-ILS/src/templates/kpac/record.tt2 | 38 ++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/Open-ILS/src/templates/kpac/record.tt2 b/Open-ILS/src/templates/kpac/record.tt2 index 514c45f81e..320d9a5bf9 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 %]
-
-
-  [% attrs.format_label %]  - -
-
[% attrs.format_label %]
-
+
@@ -55,6 +49,33 @@
 
+ + [%- IF attrs.format_label %] + [% FOR format IN attrs.all_formats %] +
+
+ [% format.label | html %]
+ [% format.label | html %] +
+
+ [% END %] + [% END %] + +
+
+ + Add to B4 Book Log
+ Add to B4
Book Log +
+
+
@@ -87,7 +108,6 @@ [% END %] - [% INCLUDE 'kpac/parts/addedcontent.tt2' %] [% END %] -- 2.11.0