Change to allow KPAC to display more than one format icon (like OPAC).
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 5 Jan 2015 15:30:55 +0000 (10:30 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2016 12:38:07 +0000 (07:38 -0500)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/kpac/homedewey.tt2
Open-ILS/src/templates/kpac/record.tt2
Open-ILS/web/css/skin/default/kpac/style.css

index b77a43b..feeffea 100644 (file)
@@ -7,7 +7,9 @@
 
              <div class="search_wrapper">
                 <h1>Dewey Decimal Guide</h1>
-                <p style="font-style:italic;font-size:large;">Use this chart to learn how the library's books are organized!</p>
+                <p>Use this chart to learn how the library's books are organized on the shelves!</p>
+                <p>Look at the number next to the subject you are interested in below (for example, 560 for Dinosaurs),<br/>
+                   then find that number on the library's shelves to find those books.</p>
                
             </div>
 </div> <!-- this ends the main_header_wrapper div that was started in header.tt2 -->
index 514c45f..b28cfe2 100644 (file)
         <div class="item_detail_name">[% attrs.title | html %]</div>
         <div class="item_detail_author">[% l('by [_1]', attrs.author) | html %]</div>
         <div class="item_detail_icon_rate">
-            <div class="item_icon_wrapper">
-                <div class="item_icon">
-                    &nbsp;<img width="35" alt="[% attrs.format_label %]" src="[% attrs.format_icon %]" />&nbsp; 
-                    <!-- put a single &nbsp; around each side of the image - for vertical centering -->
-                </div>
-                <div class="item_icon_type_text">[% attrs.format_label %]</div>
-            </div>
+            
 
             <div class="item_detail_rate_wrapper">
                 <div class="item_detail_rate_starts">
                 </div>
             </div>
             <div class="clear">&nbsp;</div>
+
+
+            [%- IF attrs.format_label %]
+                [% FOR format IN attrs.all_formats %]
+                    <div class="item_icon_wrapper">   
+                        <div class="item_icon">
+                            &nbsp;<img width="35" alt="[% attrs.format_label %]" src="[% attrs.format_icon %]" />&nbsp;
+                        </div>
+                    <div class="item_icon_type_text">[% attrs.format_label %]</div>
+                [% END %]
+            [% END %]
+            </div>
+
+
         </div>
     </div>
 
index ca1635d..34904c0 100755 (executable)
@@ -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;