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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt (-10 / +6 lines)
Lines 9-22 Link Here
9
    <script type="text/javascript">//<![CDATA[
9
    <script type="text/javascript">//<![CDATA[
10
    $(document).ready(function() {
10
    $(document).ready(function() {
11
        $("#newst").dataTable($.extend(true, {}, dataTablesDefaults, {
11
        $("#newst").dataTable($.extend(true, {}, dataTablesDefaults, {
12
            "sDom": 't',
13
            "aoColumnDefs": [
12
            "aoColumnDefs": [
14
                { "aTargets": [ 0,-1,-2 ], "bSortable": false, "bSearchable": false }
13
                { "aTargets": [ 0,-1,-2 ], "bSortable": false },
14
                { "aTargets": [ 0, -1 ], "bSearchable": false },
15
                { 'sType': "title-string", 'aTargets' : [ 'title-string'] }
15
            ],
16
            ],
16
            "aoColumns": [
17
                null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },null,null,null
18
            ],
19
            "bPaginate": false
20
        }));
17
        }));
21
    });
18
    });
22
    //]]>
19
    //]]>
Lines 62-68 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
62
59
63
[% UNLESS ( add_form ) %]
60
[% UNLESS ( add_form ) %]
64
<div id="toolbar" class="btn-toolbar">
61
<div id="toolbar" class="btn-toolbar">
65
    <a class="btn btn-small" id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&lang=[% lang %]"><i class="icon-plus"></i> New entry</a>
62
    <a class="btn btn-small" id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;lang=[% lang %]"><i class="icon-plus"></i> New entry</a>
66
</div>
63
</div>
67
[% END %]
64
[% END %]
68
65
Lines 206-213 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
206
                        <th>Location</th>
203
                        <th>Location</th>
207
                        <th>Library</th>
204
                        <th>Library</th>
208
                        <th>Number</th>
205
                        <th>Number</th>
209
                        <th>Creation date</th>
206
                        <th class="title-string">Creation date</th>
210
                        <th>Expiration date</th>
207
                        <th class="title-string">Expiration date</th>
211
                        <th>Title</th>
208
                        <th>Title</th>
212
                        <th>News</th>
209
                        <th>News</th>
213
                        <th>&nbsp;</th>
210
                        <th>&nbsp;</th>
214
- 

Return to bug 7567