From 573b227747e343efb7cc70f31f4073b5cb2bdb46 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 5 Jan 2015 10:30:55 -0500 Subject: [PATCH] Change to allow KPAC to display more than one format icon (like OPAC). Signed-off-by: Terran McCanna --- Open-ILS/src/templates/kpac/homedewey.tt2 | 4 +++- Open-ILS/src/templates/kpac/record.tt2 | 22 +++++++++++++++------- Open-ILS/web/css/skin/default/kpac/style.css | 10 +++++++++- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/Open-ILS/src/templates/kpac/homedewey.tt2 b/Open-ILS/src/templates/kpac/homedewey.tt2 index b77a43b9ef..feeffeaeb3 100644 --- a/Open-ILS/src/templates/kpac/homedewey.tt2 +++ b/Open-ILS/src/templates/kpac/homedewey.tt2 @@ -7,7 +7,9 @@

Dewey Decimal Guide

-

Use this chart to learn how the library's books are organized!

+

Use this chart to learn how the library's books are organized on the shelves!

+

Look at the number next to the subject you are interested in below (for example, 560 for Dinosaurs),
+ then find that number on the library's shelves to find those books.

diff --git a/Open-ILS/src/templates/kpac/record.tt2 b/Open-ILS/src/templates/kpac/record.tt2 index 514c45f81e..b28cfe2be0 100644 --- a/Open-ILS/src/templates/kpac/record.tt2 +++ b/Open-ILS/src/templates/kpac/record.tt2 @@ -21,13 +21,7 @@
[% attrs.title | html %]
[% l('by [_1]', attrs.author) | html %]
-
-
-  [% attrs.format_label %]  - -
-
[% attrs.format_label %]
-
+
@@ -55,6 +49,20 @@
 
+ + + [%- IF attrs.format_label %] + [% FOR format IN attrs.all_formats %] +
+
+  [% attrs.format_label %]  +
+
[% attrs.format_label %]
+ [% END %] + [% END %] +
+ +
diff --git a/Open-ILS/web/css/skin/default/kpac/style.css b/Open-ILS/web/css/skin/default/kpac/style.css index ca1635d1d9..34904c0ad5 100755 --- a/Open-ILS/web/css/skin/default/kpac/style.css +++ b/Open-ILS/web/css/skin/default/kpac/style.css @@ -350,7 +350,7 @@ input[type=text], input[type=password], textarea { } .footer_wrapper a { - color:#fff; + color:#b6fcd5; } .footer_wrapper a:hover { @@ -502,6 +502,8 @@ input[type=text], input[type=password], textarea { height:106px; overflow:hidden; float:left; + padding-left:40px; + margin-top:10px; } .item_icon { @@ -554,6 +556,12 @@ input[type=text], input[type=password], textarea { color:#000; } +.item_detail_extra_info { + margin-left:20px; + font-weight:normal; + color:#000; +} + .item_detail_header_buttons { float:right; margin-top:3px; -- 2.11.0