query => $cgi,
type => "intranet",
authnotrequired => 0,
flagsrequired => { coursereserves => '*' },
}
);
[% IF ( CAN_user_serials ) %]
<li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
[% END %]
[% IF ( CAN_user_coursereserves ) %]
<li><a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></li>
[% IF ( CAN_user_reports ) %]
<li><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></li>
"aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
"iDisplayLength": 20,
"aoColumnDefs": [
{ 'bSortable': false, 'aTargets': [ 9, 10, 11 ] }
{ 'bSortable': false, 'aTargets': [ 'NoSort' ] }
]
}));
<th>Library</th>
<th>Staff note</th>
<th>Public note</th>
[% IF CAN_user_coursereserves_add_reserves %]<th> <!-- Edit --></th>[% END %]
[% IF CAN_user_coursereserves_add_reserves %]<th class="NoSort"> <!-- Edit --></th>[% END %]
[% IF CAN_user_coursereserves_delete_reserves %]<th> <!-- Remove --></th>[% END %]
[% IF CAN_user_coursereserves_delete_reserves %]<th class="NoSort"> <!-- Remove --></th>[% END %]
<th>Other course reserves</th>
<th class="NoSort">Other course reserves</th>
</tr>
</thead>
-