View | Details | Raw Unified | Return to bug 11713
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-8 / +7 lines)
Lines 6-14 Link Here
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
7
8
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
8
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
9
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
9
[% INCLUDE 'datatables.inc' %]
10
[% INCLUDE 'datatables-strings.inc' %]
11
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
12
<script type="text/javascript">
10
<script type="text/javascript">
13
//<![CDATA[
11
//<![CDATA[
14
    $(document).ready(function(){
12
    $(document).ready(function(){
Lines 17-23 Link Here
17
            "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
15
            "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
18
            "iDisplayLength": 20,
16
            "iDisplayLength": 20,
19
            "aoColumnDefs": [
17
            "aoColumnDefs": [
20
                { 'bSortable': false, 'aTargets': [ 'NoSort' ] }
18
                { 'bSortable': false, 'aTargets': [ 'NoSort' ] },
19
                { 'sType': "anti-the", 'aTargets' : [ 'antithe'] }
21
            ]
20
            ]
22
        }));
21
        }));
23
22
Lines 47-55 Link Here
47
        <div id="yui-main">
46
        <div id="yui-main">
48
            <div id="toolbar">
47
            <div id="toolbar">
49
                <ul class="toolbar">
48
                <ul class="toolbar">
50
                    [% IF CAN_user_coursereserves_add_reserves %]<li><a class="btn" id="add_items" href="/cgi-bin/koha/course_reserves/add_items.pl?course_id=[% course.course_id %]"><i class="icon-plus"></i> Add reserves</a></li>[% END %]
49
                    [% IF CAN_user_coursereserves_add_reserves %]<li><a class="btn btn-small" id="add_items" href="/cgi-bin/koha/course_reserves/add_items.pl?course_id=[% course.course_id %]"><i class="icon-plus"></i> Add reserves</a></li>[% END %]
51
                    [% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a class="btn" id="edit_course" href="/cgi-bin/koha/course_reserves/course.pl?course_id=[% course.course_id %]"><i class="icon-pencil"></i> Edit course</a></li>[% END %]
50
                    [% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a class="btn btn-small" id="edit_course" href="/cgi-bin/koha/course_reserves/course.pl?course_id=[% course.course_id %]"><i class="icon-pencil"></i> Edit course</a></li>[% END %]
52
                    [% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a class="btn" id="delete_course" href="/cgi-bin/koha/course_reserves/mod_course.pl?course_id=[% course.course_id %]&amp;action=del"><i class="icon-remove"></i> Delete course</a></li>[% END %]
51
                    [% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a class="btn btn-small" id="delete_course" href="/cgi-bin/koha/course_reserves/mod_course.pl?course_id=[% course.course_id %]&amp;action=del"><i class="icon-remove"></i> Delete course</a></li>[% END %]
53
                </ul>
52
                </ul>
54
            </div><!-- /toolbar -->
53
            </div><!-- /toolbar -->
55
54
Lines 73-79 Link Here
73
                <caption>Reserves</caption>
72
                <caption>Reserves</caption>
74
                <thead>
73
                <thead>
75
                    <tr>
74
                    <tr>
76
                        <th>Title</th>
75
                        <th class="antithe">Title</th>
77
                        <th>Barcode</th>
76
                        <th>Barcode</th>
78
                        <th>Call number</th>
77
                        <th>Call number</th>
79
                        [% IF item_level_itypes %]<th>Item type</th>[% END %]
78
                        [% IF item_level_itypes %]<th>Item type</th>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt (-5 / +2 lines)
Lines 4-12 Link Here
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
5
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
7
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7
[% INCLUDE 'datatables.inc' %]
8
[% INCLUDE 'datatables-strings.inc' %]
9
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
10
<script type="text/javascript" id="js">
8
<script type="text/javascript" id="js">
11
$(document).ready(function() {
9
$(document).ready(function() {
12
    $("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, {
10
    $("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, {
Lines 34-40 $(document).ready(function() { Link Here
34
                    <div id="toolbar">
32
                    <div id="toolbar">
35
                        <ul class="toolbar">
33
                        <ul class="toolbar">
36
                            [% IF ( CAN_user_coursereserves_manage_courses ) %]
34
                            [% IF ( CAN_user_coursereserves_manage_courses ) %]
37
                            <li><a class="btn" id="new_course" href="/cgi-bin/koha/course_reserves/course.pl">New course</a></li>
35
                            <li><a class="btn btn-small" id="new_course" href="/cgi-bin/koha/course_reserves/course.pl"><i class="icon-plus"></i> New course</a></li>
38
                            [% END %]
36
                            [% END %]
39
                        </ul>
37
                        </ul>
40
                    </div><!-- /toolbar -->
38
                    </div><!-- /toolbar -->
41
- 

Return to bug 11713