Lines 1-6
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
|
|
4 |
[% USE KohaDates %] |
4 |
[% USE TablesSettings %] |
5 |
[% USE TablesSettings %] |
5 |
[% USE AuthorisedValues %] |
6 |
[% USE AuthorisedValues %] |
6 |
[% SET footerjs = 1 %] |
7 |
[% SET footerjs = 1 %] |
Lines 202-207
Link Here
|
202 |
<th>Filename</th> |
203 |
<th>Filename</th> |
203 |
<th>Size</th> |
204 |
<th>Size</th> |
204 |
<th>Hashvalue</th> |
205 |
<th>Hashvalue</th> |
|
|
206 |
<th>Date added</th> |
205 |
<th>Category</th> |
207 |
<th>Category</th> |
206 |
[% IF !plugin %]<th>Public</th>[% END %] |
208 |
[% IF !plugin %]<th>Public</th>[% END %] |
207 |
[% IF !plugin %]<th>Temporary</th>[% END %] |
209 |
[% IF !plugin %]<th>Temporary</th>[% END %] |
Lines 214-219
Link Here
|
214 |
<td>[% record.filename | html %]</td> |
216 |
<td>[% record.filename | html %]</td> |
215 |
<td>[% record.filesize | html %]</td> |
217 |
<td>[% record.filesize | html %]</td> |
216 |
<td>[% record.hashvalue | html %]</td> |
218 |
<td>[% record.hashvalue | html %]</td> |
|
|
219 |
<td data-order="[% record.dtcreated | html %]">[% record.dtcreated | $KohaDates %]</td> |
217 |
<td> |
220 |
<td> |
218 |
<a href="/cgi-bin/koha/tools/upload.pl?op=browse&browsecategory=[% record.uploadcategorycode | uri %]">[% AuthorisedValues.GetByCode( 'UPLOAD', record.uploadcategorycode ) | html %]</a> |
221 |
<a href="/cgi-bin/koha/tools/upload.pl?op=browse&browsecategory=[% record.uploadcategorycode | uri %]">[% AuthorisedValues.GetByCode( 'UPLOAD', record.uploadcategorycode ) | html %]</a> |
219 |
</td> |
222 |
</td> |
Lines 456-463
Link Here
|
456 |
[% END %] |
459 |
[% END %] |
457 |
window.close(); |
460 |
window.close(); |
458 |
} |
461 |
} |
|
|
462 |
var columns_settings = [% TablesSettings.GetColumns( 'tools', 'upload', 'uploadresults', 'json' ) | $raw %]; |
459 |
$(document).ready(function() { |
463 |
$(document).ready(function() { |
460 |
KohaTable("uploadresults",{}); |
464 |
KohaTable("uploadresults",{ |
|
|
465 |
}, columns_settings); |
466 |
|
461 |
[% IF msg %] |
467 |
[% IF msg %] |
462 |
ShowAlerts( [% msg | html %] ); |
468 |
ShowAlerts( [% msg | html %] ); |
463 |
[% END %] |
469 |
[% END %] |
464 |
- |
|
|