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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt (-8 / +8 lines)
Lines 104-119 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
104
        <form id="del_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl">
104
        <form id="del_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl">
105
                <table id="newst">
105
                <table id="newst">
106
                   <thead> <tr>
106
                   <thead> <tr>
107
                        <th>&nbsp;</th>
107
                        <th class="NoSort">&nbsp;</th>
108
                        <th>Location</th>
108
                        <th>Location</th>
109
                        <th>Library</th>
109
                        <th>Library</th>
110
                        <th>Number</th>
110
                        <th>Number</th>
111
                        <th class="title-string">Publication date</th>
111
                        <th class="title-string">Publication date</th>
112
                        <th class="title-string">Expiration date</th>
112
                        <th class="title-string">Expiration date</th>
113
                        <th>Title</th>
113
                        <th class="anti-the">Title</th>
114
                        <th>Author</th>
114
                        <th>Author</th>
115
                        <th>News</th>
115
                        <th class="anti-the">News</th>
116
                        <th>Actions</th>
116
                        <th class="NoSort">Actions</th>
117
                    </tr></thead>
117
                    </tr></thead>
118
                    <tbody>[% FOREACH opac_new IN opac_news %]
118
                    <tbody>[% FOREACH opac_new IN opac_news %]
119
                         [% IF ( opac_new.expired ) %]
119
                         [% IF ( opac_new.expired ) %]
Lines 240-249 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
240
240
241
            $(document).ready(function() {
241
            $(document).ready(function() {
242
                var newst = $("#newst").DataTable($.extend(true, {}, dataTablesDefaults, {
242
                var newst = $("#newst").DataTable($.extend(true, {}, dataTablesDefaults, {
243
                    "order": [[ 4, "desc" ]],
243
                    "aoColumnDefs": [
244
                    "aoColumnDefs": [
244
                        { "aTargets": [ 0,-1,-2 ], "bSortable": false },
245
                        { "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] },
245
                        { "aTargets": [ 0, -1 ], "bSearchable": false },
246
                        { "type": "anti-the", "targets": [ "anti-the" ] },
246
                        { 'sType': "title-string", 'aTargets' : [ 'title-string'] }
247
                        { "type": "title-string", "targets" : [ "title-string"] }
247
                    ],
248
                    ],
248
                    "sPaginationType": "full_numbers"
249
                    "sPaginationType": "full_numbers"
249
                }));
250
                }));
250
- 

Return to bug 23279