Improvements to KPAC list display, especially adding
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 14 Dec 2015 16:57:35 +0000 (11:57 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 7 Oct 2017 00:23:24 +0000 (20:23 -0400)
display of list annotations that were not shown.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/kpac/parts/record_row.tt2
Open-ILS/src/templates/kpac/results.tt2

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

index 00e4492..f6ed341 100644 (file)
             [% IF attrs.phys_desc %]<br/>[% attrs.phys_desc | html; END %]
         </div>
                
+               <!-- added list annotations -->
+                                       [% IF ctx.bookbag;
+                        rec_id = rec.id;
+                        FOR note IN ctx.bookbag_items_by_bre_id.$rec_id.notes %]
+                        <div class="item_detail_extra_info" style="font-style:italic;margin-top:5px;">
+                            Note: [% note.note | html %]
+                        </div>
+                        [% END %]
+                    [% END %]
+               <!-- end list annotations -->
         [%- IF attrs.format_label %]
             [% FOR format IN attrs.all_formats %]
                        <div class="item_icon_wrapper">
index bab0f60..2ecb7cd 100644 (file)
@@ -6,7 +6,7 @@
         
 [% 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>
+    <div style="font-weight:normal;font-size:1.5em;text-align:left;padding:10px;">[% ctx.bookbag.description | html %]</div>
 [% ELSE %]
        <h2 class="sub_header2">[% l('Search Results') %]</h2>
 [% END %]