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 197-202
Link Here
|
197 |
<th>Filename</th> |
198 |
<th>Filename</th> |
198 |
<th>Size</th> |
199 |
<th>Size</th> |
199 |
<th>Hashvalue</th> |
200 |
<th>Hashvalue</th> |
|
|
201 |
<th>Date added</th> |
200 |
<th>Category</th> |
202 |
<th>Category</th> |
201 |
[% IF !plugin %]<th>Public</th>[% END %] |
203 |
[% IF !plugin %]<th>Public</th>[% END %] |
202 |
[% IF !plugin %]<th>Temporary</th>[% END %] |
204 |
[% IF !plugin %]<th>Temporary</th>[% END %] |
Lines 209-214
Link Here
|
209 |
<td>[% record.filename | html %]</td> |
211 |
<td>[% record.filename | html %]</td> |
210 |
<td>[% record.filesize | html %]</td> |
212 |
<td>[% record.filesize | html %]</td> |
211 |
<td>[% record.hashvalue | html %]</td> |
213 |
<td>[% record.hashvalue | html %]</td> |
|
|
214 |
<td data-order="[% record.dtcreated | html %]">[% record.dtcreated | $KohaDates %]</td> |
212 |
<td> |
215 |
<td> |
213 |
<a href="/cgi-bin/koha/tools/upload.pl?op=browse&browsecategory=[% record.uploadcategorycode | uri %]">[% AuthorisedValues.GetByCode( 'UPLOAD', record.uploadcategorycode ) | html %]</a> |
216 |
<a href="/cgi-bin/koha/tools/upload.pl?op=browse&browsecategory=[% record.uploadcategorycode | uri %]">[% AuthorisedValues.GetByCode( 'UPLOAD', record.uploadcategorycode ) | html %]</a> |
214 |
</td> |
217 |
</td> |
Lines 451-458
Link Here
|
451 |
[% END %] |
454 |
[% END %] |
452 |
window.close(); |
455 |
window.close(); |
453 |
} |
456 |
} |
|
|
457 |
var columns_settings = [% TablesSettings.GetColumns( 'tools', 'upload', 'uploadresults', 'json' ) | $raw %]; |
454 |
$(document).ready(function() { |
458 |
$(document).ready(function() { |
455 |
KohaTable("uploadresults",{}); |
459 |
KohaTable("uploadresults",{ |
|
|
460 |
}, columns_settings); |
461 |
|
456 |
[% IF msg %] |
462 |
[% IF msg %] |
457 |
ShowAlerts( [% msg | html %] ); |
463 |
ShowAlerts( [% msg | html %] ); |
458 |
[% END %] |
464 |
[% END %] |
459 |
- |
|
|