OPAC Circ Modifier Adjustments
authorKyle Huckins <khuckins@catalyte.io>
Thu, 12 Dec 2019 22:49:28 +0000 (22:49 +0000)
committerJane Sandberg <sandbej@linnbenton.edu>
Wed, 26 Aug 2020 22:53:49 +0000 (15:53 -0700)
- Improve visuals when logged in as administrator.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/opac/parts/record/copy_table.tt2

Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index c0a4bfc..48d9c0d 100644 (file)
@@ -150,7 +150,10 @@ END; # FOREACH bib
 
             [% IF copy_info.courses.size > 0 || ctx.is_staff %]
             <td>[% copy_info.circ_modifier | html %]</td>
-            [% ELSIF ctx.is_staff %]
+            [% ELSIF ctx.get_org_setting(ctx.aou_tree.id, 'circ.course_materials_opt_in') == 1 %]
+            <td></td>
+            [% END %]
+            [% IF ctx.is_staff %]
             <td>
                 [% copy_info.age_protect ?
                     ctx.get_crahp(copy_info.age_protect).name : l('None') | html %]
@@ -171,8 +174,6 @@ END; # FOREACH bib
                    '-';
                 END;
             %]</td>
-            [% ELSIF ctx.get_org_setting(ctx.aou_tree.id, 'circ.course_materials_opt_in') == 1 %]
-            <td></td>
             [% END # is_staff %]
             [% IF ctx.is_staff OR serial_holdings %]
             <td>[%  # Show copy/volume hold links to staff (without