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>
Sun, 31 Oct 2021 15:55:17 +0000 (11:55 -0400)
Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index 87d8d20..d0fb61c 100644 (file)
@@ -55,11 +55,6 @@ 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>
-            [%- IF use_courses %]
-            <th scope='col'>[% l("Courses") %]</th>
-            [%- END %]
         </tr>
     </thead>
     <tbody class="copy_details_table">
@@ -219,6 +214,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;
@@ -231,6 +227,7 @@ END; # FOREACH bib
                     );
                 ELSE;
                     '-';
+                [%- END %]
                 END %]</td>
             [%- IF use_courses %]
             <td>[%- FOREACH course IN copy_info.courses %]