KPAC 2.7 Upgrade Tweaks
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 23 Dec 2014 16:20:32 +0000 (11:20 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2016 12:38:15 +0000 (07:38 -0500)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:

Open-ILS/examples/kpac.xml

Open-ILS/src/templates/kpac/parts/org_selector.tt2
Open-ILS/src/templates/kpac/results.tt2

index 4ea338e..82e5c33 100644 (file)
@@ -108,6 +108,9 @@ BLOCK build_org_selector;
 
             pad_depth = pad_depth * 2;
             display_name = loc_grp ? loc_grp.name : korg_unit.name %]
+                       [% IF node_value == 1 %]
+                           [% display_name = "All PINES Libraries" %]
+                   [% END %]                   
 
             <option value='[% node_value %]' [% selected %] [% disabled %] [% css_class %]> 
                 [% '&nbsp;' FOR [0..pad_depth]; display_name | html %]
index 9a0b0d5..bab0f60 100644 (file)
@@ -4,7 +4,13 @@
     WRAPPER "kpac/parts/subpage.tt2";
     ctx.page_title = l('Search Results') %]
         
-<h2 class="sub_header2">[% l('Search Results') %]</h2>
+[% IF ctx.bookbag %]
+    <h2 class="sub_header2">[% ctx.bookbag.name | html %]</h2>
+    <div style="font-weight:bold;font-size:1.5em;text-align:center;">[% ctx.bookbag.description | html %]</div>
+[% ELSE %]
+       <h2 class="sub_header2">[% l('Search Results') %]</h2>
+[% END %]
+
 
 [% IF ctx.records.size == 0 %]
 
@@ -17,7 +23,7 @@
 
     <div class="sub_navigation2">
         [% INCLUDE 'kpac/parts/paginate.tt2' %]
-    </div>
+       </div>
 
     <div id="search_results_parent"> [%
         FOR rec IN ctx.records;