OPAC changes in preparation for upgrade:
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 30 Dec 2015 18:55:50 +0000 (13:55 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Wed, 30 Dec 2015 18:55:50 +0000 (13:55 -0500)
1. Added instructions to circ history page in My Account for turning
on your circulation history.

2. Modified behavior or NoveList tab on item details page so that it
is closed by default in the staff client, and it will close when a
different tab is opened to reduce page scrolling.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/opac/myopac/circ_history.tt2
Open-ILS/src/templates/opac/parts/myopac/prefs_base.tt2
Open-ILS/src/templates/opac/parts/record/extras.tt2

index ccfacd2..453554a 100644 (file)
     <div class="clear-both"></div>
 
     [% IF ctx.circs.size < 1 %]
-    <div class="warning_box">[% l('There are no items in your circulation history.') %]</div>
+        <div class="warning_box" style="margin-left:20px;">[% l('There are no items in your circulation history.') %]</div>
+               <p style="margin-left:20px;">If you would like to save a list of the items you check out:</p>
+               <ol style="margin-left:20px;">
+                   <li>Click on the Account Preferences tab.</li>
+                       <li>Click on the the Search and History Preferences tab.</li>
+                       <li>Check the box next to "Keep history of checked out items?"</li>
+                       <li>Click Save</li>
+               </ol>
+               <p style="margin-left:20px;">It will begin saving a list with the next item you check out.</p>
     [% ELSE %]
 
     <div id='checked_main'>
index ca71851..863ac9b 100644 (file)
@@ -4,7 +4,7 @@
         [% acct_prefs_pages = [
            {url => "prefs", name => l("Personal Information")},
            {url => "prefs_notify", name => l("Notification Preferences")},
-           {url => "prefs_settings", name => l("Search Preferences")},
+           {url => "prefs_settings", name => l("Search and History Preferences")},
            {url => "prefs_my_lists", name => l("My Lists Preferences")}
            ];
            skin_root = "../"
index a132646..a35c853 100644 (file)
             <div class="rdetail_extras_hr"></div>
             <div class="rdetail_extras_link">
                 [%  
-                    IF tab_is_active(name) OR name == 'awards';
+                    IF tab_is_active(name);
                         href = mkurl('', {}, ['expand', 'ac']);
                         arrow = arrow_down;                        
+                                       ELSIF !ctx.is_staff AND name == 'awards' AND !CGI.request_uri.match('expand');
+                        href = mkurl('', {}, ['expand', 'ac']);
+                        arrow = arrow_down;                                                
                                        ELSE;
                         IF name == 'addedcontent' AND default_ac;
                             href = mkurl('', {expand => name, ac => default_ac}) _ '#' _ name;