1 [% USE AuthorisedValues %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Course reserves</title>
4 [% INCLUDE 'doc-head-close.inc' %]
6 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
7 [% INCLUDE 'datatables.inc' %]
8 <script type="text/javascript" id="js">
9 $(document).ready(function() {
10 $("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, {
11 "sPaginationType": "four_button"
17 <body id="courses_course_reserves" class="course">
19 [% INCLUDE 'header.inc' %]
20 [% INCLUDE 'cat-search.inc' %]
22 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></div>
24 <div id="doc2" class="yui-t7">
29 [% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %]
32 [% IF ( CAN_user_coursereserves_manage_courses ) %]
33 <li><a class="btn btn-small" id="new_course" href="/cgi-bin/koha/course_reserves/course.pl"><i class="fa fa-plus"></i> New course</a></li>
36 </div><!-- /toolbar -->
40 <div id="search-toolbar">
41 <script type="text/javascript">
43 function submitSearchForm(p_oEvent){
44 $('#search_courses_form').submit();
47 $(document).ready(function(){
48 newCourseButton = new YAHOO.widget.Button("search_courses");
49 newCourseButton.on("click", submitSearchForm );
54 <li><form id="search_courses_form"><input type="text" name="search_on" id="search_on"></form></li>
55 <li><a id="search_courses">Search courses</a></li>
61 <table id="course_reserves_table">
72 <th># of Students</th>
78 [% FOREACH c IN courses %]
80 <td><a href="course-details.pl?course_id=[% c.course_id %]">[% c.course_name %]</a></td>
81 <td>[% AuthorisedValues.GetByCode( 'DEPARTMENT', c.department ) %]</td>
82 <td>[% c.course_number %]</td>
83 <td>[% c.section %]</td>
84 <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td>
86 [% FOREACH i IN c.instructors %]
87 <div class="instructor"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% i.borrowernumber %]">[% i.firstname %] [% i.surname %]</a></div>
90 <td>[% c.staff_note %]</td>
91 <td>[% c.public_note %]</td>
92 <td>[% c.students_count %]</td>
94 [% IF c.enabled == 'yes' %]
110 [% INCLUDE 'intranet-bottom.inc' %]