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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt (-7 / +11 lines)
Lines 1-17 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Catalog &rsaquo; Stock rotation details for [% biblio.title | html %]</title>
7
<title>Koha &rsaquo; Catalog &rsaquo; Stock rotation details for [% biblio.title | html %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'browser-strings.inc' %]
9
[% INCLUDE 'browser-strings.inc' %]
8
[% Asset.js("js/browser.js") | $raw %]
9
<script type="text/javascript">
10
//<![CDATA[
11
    var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10));
12
    browser.show();
13
//]]>
14
</script>
15
</head>
10
</head>
16
<body id="catalog_stockrotation" class="catalog">
11
<body id="catalog_stockrotation" class="catalog">
17
[% USE KohaDates %]
12
[% USE KohaDates %]
Lines 169-172 Link Here
169
[% INCLUDE 'biblio-view-menu.inc' %]
164
[% INCLUDE 'biblio-view-menu.inc' %]
170
</div>
165
</div>
171
</div>
166
</div>
167
168
[% MACRO jsinclude BLOCK %]
169
    [% Asset.js("js/browser.js") | $raw %]
170
    <script type="text/javascript">
171
        var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10));
172
        browser.show();
173
    </script>
174
[% END %]
175
172
[% INCLUDE 'intranet-bottom.inc' %]
176
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-17 / +21 lines)
Lines 1-27 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Stock rotation</title>
8
<title>Koha &rsaquo; Stock rotation</title>
7
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
8
[% Asset.css("css/datatables.css") | $raw %]
10
[% Asset.css("css/datatables.css") | $raw %]
9
[% INCLUDE 'datatables.inc' %]
10
[% Asset.js("js/pages/stockrotation.js") | $raw %]
11
<script type="text/javascript">
12
//<![CDATA[
13
    $(document).ready(function() {
14
        $('#sr_manage_items').dataTable($.extend(true, {}, dataTablesDefaults, {
15
            "autoWidth": false,
16
            "aoColumnDefs": [
17
                { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
18
                { "bSortable": true, "bSearchable": false, 'aTargets': [ 'NoSearch' ] }
19
            ],
20
            "sPaginationType": "four_button"
21
        }));
22
    });
23
//]]>
24
</script>
25
</head>
11
</head>
26
12
27
<body id="tools_stockrotation" class="tools">
13
<body id="tools_stockrotation" class="tools">
Lines 508-511 Link Here
508
        </div>
494
        </div>
509
    </div>
495
    </div>
510
</div>
496
</div>
497
498
[% MACRO jsinclude BLOCK %]
499
    [% Asset.js("js/tools-menu.js") | $raw %]
500
    [% INCLUDE 'datatables.inc' %]
501
    [% Asset.js("js/pages/stockrotation.js") | $raw %]
502
    <script type="text/javascript">
503
    $(document).ready(function() {
504
        $('#sr_manage_items').dataTable($.extend(true, {}, dataTablesDefaults, {
505
            "autoWidth": false,
506
            "aoColumnDefs": [
507
                { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
508
                { "bSortable": true, "bSearchable": false, 'aTargets': [ 'NoSearch' ] }
509
            ],
510
            "sPaginationType": "four_button"
511
        }));
512
    });
513
    </script>
514
[% END %]
515
511
[% INCLUDE 'intranet-bottom.inc' %]
516
[% INCLUDE 'intranet-bottom.inc' %]
512
- 

Return to bug 11897