Remove status and due date from public OPAC.
authorChris Sharp <csharp@georgialibraries.org>
Thu, 28 Jul 2016 14:49:54 +0000 (10:49 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 12 Mar 2018 17:57:59 +0000 (13:57 -0400)
Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index 639ad49..41c9bf0 100644 (file)
@@ -52,8 +52,8 @@ IF has_copies or ctx.foreign_copies;
             [%- IF ctx.is_staff OR serial_holdings %]
             <th scope='col'>[% l("Holdable?") %]</th>
             [%- END %]
-            <th scope='col'>[% l("Status") %]</th>
-            <th scope='col'>[% l("Due Date") %]</th>
+<!--        <th scope='col'>[% l("Status") %]</th>
+            <th scope='col'>[% l("Due Date") %]</th> -->
         </tr>
     </thead>
     <tbody class="copy_details_table">
@@ -210,6 +210,7 @@ END; # FOREACH bib
                     l("Not holdable");
                 END %]</td>
             [%- END %]
+            [% IF ctx.is_staff %]
             <td>[%-
                 schema_copy_status.${copy_info.status_code};
                 copy_info.copy_status | html;
@@ -222,6 +223,7 @@ END; # FOREACH bib
                     );
                 ELSE;
                     '-';
+                [%- END %]
                 END %]</td>
         </tr>