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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt (-6 / +11 lines)
Lines 8-13 Link Here
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% Asset.css("css/datatables.css") %]
9
[% Asset.css("css/datatables.css") %]
10
</head>
10
</head>
11
12
<body id="circ_checkout-notes" class="circ">
13
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'circ-search.inc' %]
15
[% INCLUDE 'circ-search.inc' %]
13
<div id="breadcrumbs">
16
<div id="breadcrumbs">
Lines 58-64 Link Here
58
                                <th>&nbsp;</th>
61
                                <th>&nbsp;</th>
59
                                <th>Title</th>
62
                                <th>Title</th>
60
                                <th>Note</th>
63
                                <th>Note</th>
61
                                <th>Date</th>
64
                                <th class="title-string">Date</th>
62
                                <th>Set by</th>
65
                                <th>Set by</th>
63
                                <th>Status</th>
66
                                <th>Status</th>
64
                                <th>Actions</th>
67
                                <th>Actions</th>
Lines 70-76 Link Here
70
                                    <td><input type="checkbox" name="issue_ids" value="[% note.issue_id %]"></td>
73
                                    <td><input type="checkbox" name="issue_ids" value="[% note.issue_id %]"></td>
71
                                    <td>[% note.item.biblio.title %] - [% note.item.biblio.author %] (<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% note.item.biblionumber %]">[% note.item.barcode %]</a>)</td>
74
                                    <td>[% note.item.biblio.title %] - [% note.item.biblio.author %] (<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% note.item.biblionumber %]">[% note.item.barcode %]</a>)</td>
72
                                    <td>[% note.note | html %]</td>
75
                                    <td>[% note.note | html %]</td>
73
                                    <td>[% note.notedate | $KohaDates %]</td>
76
                                    <td><span title="[% note.notedate %]">[% note.notedate | $KohaDates %]</span></td>
74
                                    <td>[% INCLUDE 'patron-title.inc' patron => note.patron hide_patron_infos_if_needed=1 %]</td>
77
                                    <td>[% INCLUDE 'patron-title.inc' patron => note.patron hide_patron_infos_if_needed=1 %]</td>
75
                                    <td class="seen[% note.noteseen %]">
78
                                    <td class="seen[% note.noteseen %]">
76
                                        [% IF ( note.noteseen == 0 ) %]
79
                                        [% IF ( note.noteseen == 0 ) %]
Lines 114-125 Link Here
114
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
117
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
115
    [% INCLUDE 'calendar.inc' %]
118
    [% INCLUDE 'calendar.inc' %]
116
    [% INCLUDE 'datatables.inc' %]
119
    [% INCLUDE 'datatables.inc' %]
117
    <script type="text/javascript">
120
    <script>
118
    //<![CDATA[
119
        $(document).ready(function(){
121
        $(document).ready(function(){
120
            $("#notestable").dataTable($.extend(true, {}, dataTablesDefaults, {
122
            $("#notestable").dataTable($.extend(true, {}, dataTablesDefaults, {
121
                "aoColumnDefs": [
123
                "aoColumnDefs": [
122
                    { "aTargets": [ 0, -1 ], "bSearchable": false, "bSortable": false },
124
                    { "aTargets": [ 0, -1 ], "bSearchable": false, "bSortable": false },
125
                    { "sType": "title-string", "aTargets" : [ "title-string" ] },
123
                ],
126
                ],
124
                "sPaginationType": "four_button"
127
                "sPaginationType": "four_button"
125
            }));
128
            }));
Lines 185-194 Link Here
185
                        $("#error").text(_("Unable to change status of note."));
188
                        $("#error").text(_("Unable to change status of note."));
186
                        $("#error").show();
189
                        $("#error").show();
187
                    }
190
                    }
191
                })
192
                .error(function(data){
193
                    $("#error").text(_("Unable to change status of note."));
194
                    $("#error").show();
188
                });
195
                });
189
            });
196
            });
190
        });
197
        });
191
    //]]>
192
    </script>
198
    </script>
193
[% END %]
199
[% END %]
194
200
195
- 

Return to bug 17698