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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-8 / +12 lines)
Lines 2-16 Link Here
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
3
<title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
6
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7
[% INCLUDE 'datatables-strings.inc' %]
8
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
6
<script type="text/javascript">
9
<script type="text/javascript">
7
//<![CDATA[
10
//<![CDATA[
8
    $(document).ready(function() {
11
    $(document).ready(function() {
9
	$("#noticestable").tablesorter({
12
    $("#noticestable").dataTable($.extend(true, {}, dataTablesDefaults, {
10
	    [% IF ( dateformat == 'metric' ) %]
13
        "aaSorting": [[ 3, "desc" ]],
11
		dateFormat: 'uk'
14
        "aoColumns": [ null,null,null,{ "sType": "title-string" } ],
12
	    [% END %]
15
        "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
13
	});
16
        "iDisplayLength": 20,
17
        "sPaginationType": "four_button"
18
    }));
14
19
15
    $(".message").hide();
20
    $(".message").hide();
16
    $(".message-title").click(function(e){
21
    $(".message-title").click(function(e){
Lines 73-79 Link Here
73
            [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted
78
            [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted
74
            [% ELSE %][% QUEUED_MESSAGE.status %][% END %]
79
            [% ELSE %][% QUEUED_MESSAGE.status %][% END %]
75
        </td>
80
        </td>
76
        <td>[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</td>
81
        <td><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td>
77
	    </tr>
82
	    </tr>
78
	    [% END %]
83
	    [% END %]
79
	</tbody>
84
	</tbody>
80
- 

Return to bug 9463