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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt (-4 / +25 lines)
Lines 1-6 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Acquisitions &rsaquo; Add order from a suggestion</title>
2
<title>Koha &rsaquo; Acquisitions &rsaquo; Add order from a suggestion</title>
3
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6
[% INCLUDE 'datatables-strings.inc' %]
7
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
8
<script type="text/javascript">
9
//<![CDATA[
10
 $(document).ready(function() {
11
    var suggestionst = $("#suggestionst").dataTable($.extend(true, {}, dataTablesDefaults, {
12
        "aoColumnDefs": [
13
            { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
14
        ],
15
        "sPaginationType": "four_button"
16
    } ) );
17
 });
18
 //]]>
19
</script>
4
</head>
20
</head>
5
<body>
21
<body>
6
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' %]
Lines 16-29 Link Here
16
	
32
	
17
<h1>Suggestions</h1>
33
<h1>Suggestions</h1>
18
    [% IF ( suggestions_loop ) %]
34
    [% IF ( suggestions_loop ) %]
19
	<table>
35
    <table id="suggestionst">
36
        <thead>
20
        <tr>
37
        <tr>
21
            <th>Suggestion</th>
38
            <th>Suggestion</th>
22
            <th>Suggested by</th>
39
            <th>Suggested by</th>
23
            <th>Accepted by</th>
40
            <th>Accepted by</th>
24
            <th>&nbsp;</th>
41
            <th>&nbsp;</th>
25
        </tr>
42
        </tr>
26
        
43
        </thead>
44
        <tbody>
27
        [% FOREACH suggestions_loo IN suggestions_loop %]
45
        [% FOREACH suggestions_loo IN suggestions_loop %]
28
            <tr>
46
            <tr>
29
                <td>
47
                <td>
Lines 53-59 Link Here
53
                </td>
71
                </td>
54
            </tr>
72
            </tr>
55
        [% END %]
73
        [% END %]
56
    </table>[% ELSE %]There are no outstanding (accepted) suggestions.[% END %]
74
        </tbody>
75
    </table>
76
    [% ELSE %]
77
        There are no outstanding (accepted) suggestions.
78
    [% END %]
57
</div>
79
</div>
58
</div>
80
</div>
59
<div class="yui-b">
81
<div class="yui-b">
60
- 

Return to bug 5345