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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-11 / +14 lines)
Lines 1-16 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; Notices[% IF ( add_form ) %][% IF ( modify ) %] &rsaquo; Modify notice[% ELSE %] &rsaquo; Add notice[% END %][% END %][% IF ( add_validate ) %] &rsaquo; Notice added[% END %][% IF ( delete_confirm ) %] &rsaquo; Confirm deletion[% END %]</title>
2
<title>Koha &rsaquo; Tools &rsaquo; Notices[% IF ( add_form ) %][% IF ( modify ) %] &rsaquo; Modify notice[% ELSE %] &rsaquo; Add notice[% END %][% END %][% IF ( add_validate ) %] &rsaquo; Notice added[% END %][% IF ( delete_confirm ) %] &rsaquo; Confirm deletion[% END %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
4
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" />
5
	<script type="text/javascript">
5
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6
	//<![CDATA[
6
[% INCLUDE 'datatables-strings.inc' %]
7
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script>
8
<script type="text/javascript">
9
//<![CDATA[
7
$(document).ready(function() {
10
$(document).ready(function() {
8
	$("#lettert:has(tbody tr)").tablesorter({
11
    $("#lettert:has(tbody tr)").dataTable($.extend(true, {}, dataTablesDefaults, {
9
		widgets : ['zebra'],
12
        "sDom": 't',
10
		sortList: [[0,0]],
13
        "aoColumnDefs": [
11
        headers: { 4: {sorter:false},5: { sorter: false },6: { sorter: false }}
14
            { "aTargets": [ -1,-2, -3 ], "bSortable": false, "bSearchable": false }
12
	}); 
15
        ],
13
16
        "bPaginate": false
17
    }));
14
    $('#branch').change(function() {
18
    $('#branch').change(function() {
15
            $('#op').val("");
19
            $('#op').val("");
16
            $('#selectlibrary').submit();
20
            $('#selectlibrary').submit();
Lines 184-190 $(document).ready(function() { Link Here
184
				<td>[% lette.module %]</td>
188
				<td>[% lette.module %]</td>
185
				<td>[% lette.code %]</td>
189
				<td>[% lette.code %]</td>
186
				<td>[% lette.name %]</td>
190
				<td>[% lette.name %]</td>
187
				<td>
191
				<td style="white-space: nowrap">
188
        [% IF !independant_branch || !lette.branchcode %]
192
        [% IF !independant_branch || !lette.branchcode %]
189
                    <form method="post" action="/cgi-bin/koha/tools/letter.pl">
193
                    <form method="post" action="/cgi-bin/koha/tools/letter.pl">
190
                        <input type="hidden" name="op" value="copy" />
194
                        <input type="hidden" name="op" value="copy" />
191
- 

Return to bug 9477