3 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Courses</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 [% Asset.css("css/datatables.css") %]
13 [% INCLUDE 'bodytag.inc' bodyid='opac-main' %]
14 [% INCLUDE 'masthead.inc' %]
17 <ul class="breadcrumb">
18 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
19 <li><a href="#">Course reserves</a></li>
22 <div class="container-fluid">
23 <div class="row-fluid">
28 <table id="course_reserves_table" class="table table-bordered table-striped table-condensed">
42 [% FOREACH c IN courses %]
44 <td><a href="opac-course-details.pl?course_id=[% c.course_id %]">[% c.course_name %]</a></td>
45 <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department, 1 ) %]</td>
46 <td>[% c.course_number %]</td>
47 <td>[% c.section %]</td>
48 <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td>
50 [% FOREACH i IN c.instructors %]
51 <div class="instructor"><span class"inst_surname">[% i.surname %]</span>[% IF i.firstname %]<span class="instr_separator">, </span><span class="instr_firstname">[% i.firstname %]</span>[% END %]</div>
54 <td>[% c.public_note %]</td>
58 </div> <!-- / .span12 -->
59 </div> <!-- / .row-fluid -->
60 </div> <!-- / .container-fluid -->
61 </div> <!-- / .main -->
62 [% INCLUDE 'opac-bottom.inc' %]
64 [% INCLUDE 'datatables.inc' %]
65 <script type="text/javascript">
66 $(document).ready(function() {
67 $("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, {
68 "sDom": '<"top"flp>rt<"clear">',