[%- END %]
<th scope='col'>[% l("Barcode") %]</th>
<th scope='col'>[% l("Shelving Location") %]</th>
- [%- IF ctx.is_staff %]
+ [%- IF ctx.is_staff || ctx.use_courses %]
<th scope='col'>[% l("Circulation Modifier") %]</th>
+ [%- END %]
+ [%- IF ctx.is_staff %]
<th scope='col'>[% l("Age Hold Protection") %]</th>
<th scope='col'>[% l("Active/Create Date") %]</th>
[%- END %]
[%- END %]
<th scope='col'>[% l("Status") %]</th>
<th scope='col'>[% l("Due Date") %]</th>
+ [%- IF ctx.use_courses %]
+ <th scope='col'>[% l("Courses") %]</th>
+ [%- END %]
</tr>
</thead>
<tbody>
END; -%]
</td>
<td property="availableAtOrFrom">[%- INCLUDE "opac/parts/location_name_link.tt2"; -%]</td>
- [%- IF ctx.is_staff %]
+ [% IF copy_info.courses.size > 0 || ctx.is_staff %]
<td>[% copy_info.circ_modifier | html %]</td>
+ [% ELSIF ctx.use_courses %]
+ <td></td>
+ [% END %]
+ [% IF ctx.is_staff %]
<td>
[% copy_info.age_protect ?
ctx.get_crahp(copy_info.age_protect).name : l('None') | html %]
ELSE;
'-';
END %]</td>
+ [%- IF ctx.use_courses %]
+ <td>[%- FOREACH course IN copy_info.courses %]
+ <div>[% course.course_number %]</div>
+ [% END %]</td>
+ [% END %]
</tr>
[% IF copy_info.notes; %]