PINES Search Results Customization: Display List Link
authorMcCanna <tmccanna@georgialibraries.org>
Wed, 22 Nov 2017 21:36:39 +0000 (16:36 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sun, 26 Nov 2017 14:58:12 +0000 (09:58 -0500)
Display Add to List link even though it isn't completely
functional.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/opac/parts/result/table.tt2

index ba7b35f..c712899 100644 (file)
@@ -395,7 +395,7 @@ END;
                                                                     {hold_target => rec.id, hold_type => hold_type, 
                                                                       hold_source_page => mkurl()}, ['query','tag','subfield','term','_special','sort','page']) %]"
                                                                 [% html_text_attr('title', l('Place Hold on [_1]', attrs.title)) %]
-                                                                    class="no-dec" rel="nofollow" vocab=""><img
+                                                                    class="no-dec" rel="nofollow" vocab=""  style="margin-left:17px;"><img
                                                                 src="[% ctx.media_prefix %]/images/green_check.png[% ctx.cache_key %]"
                                                                 alt=""/><span class="result_place_hold">[% l('Place Hold') %]</span></a>
                                                         </div><br/>
@@ -424,7 +424,8 @@ END;
 
                                                     [% IF !ctx.is_meta %]
                                                         <div class="results_aux_utils result_util">
-                                                        [% IF !ctx.is_staff %]
+                                                                                                               <!-- PINES Customization: Bring back list link even though it doesn't fully work in the staff client -->
+                                                        
                                                             [%  IF ctx.user;
                                                                 INCLUDE "opac/parts/bookbag_actions.tt2";
                                                             %]
@@ -445,7 +446,7 @@ END;
                                                                                                                        <a href="http://pines.georgialibraries.org/catalog-help#my_list" target="_blank">
                                                                                                                            <img src="[% ctx.media_prefix %]/images/question-mark.png" alt="Learn about lists" border=0></a>
                                                             [% END %]
-                                                        [% END %]
+                                                        
                                                         </div>
                                                     [% END %]
                                                         [% IF ENV.OILS_CONTENT_CAFE_USER %]