4 [% USE AuthorisedValues %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Courses</title>
8 [% INCLUDE 'doc-head-close.inc' %]
10 [% Asset.css("css/datatables.css") | $raw %]
14 [% INCLUDE 'bodytag.inc' bodyid='opac-course-reserves' %]
15 [% INCLUDE 'masthead.inc' %]
18 <ul class="breadcrumb">
19 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
20 <li><a href="#">Course reserves</a></li>
23 <div class="container-fluid">
24 <div class="row-fluid">
29 <table id="course_reserves_table" class="table table-bordered table-striped table-condensed">
43 [% FOREACH c IN courses %]
45 <td><a href="opac-course-details.pl?course_id=[% c.course_id | uri %]">[% c.course_name | html %]</a></td>
46 <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department, 1 ) | html %]</td>
47 <td>[% c.course_number | html %]</td>
48 <td>[% c.section | html %]</td>
49 <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) | html %]</td>
51 [% FOREACH i IN c.instructors %]
52 <div class="instructor"><span class"inst_surname">[% i.surname | html %]</span>[% IF i.firstname %]<span class="instr_separator">, </span><span class="instr_firstname">[% i.firstname | html %]</span>[% END %]</div>
55 <td>[% c.public_note | html %]</td>
59 </div> <!-- / .span12 -->
60 </div> <!-- / .row-fluid -->
61 </div> <!-- / .container-fluid -->
62 </div> <!-- / .main -->
63 [% INCLUDE 'opac-bottom.inc' %]
65 [% INCLUDE 'datatables.inc' %]
67 $(document).ready(function() {
68 $("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, {
69 "dom": '<"top"flp>rt<"clear">',