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

(-)a/admin/columns_settings.yml (+22 lines)
Lines 1582-1587 modules: Link Here
1582
              cannot_be_toggled: 1
1582
              cannot_be_toggled: 1
1583
              cannot_be_modified: 1
1583
              cannot_be_modified: 1
1584
1584
1585
    upload:
1586
      uploadresults:
1587
        columns:
1588
            -
1589
              columnname: filename
1590
            -
1591
              columnname: size
1592
            -
1593
              columnname: hashvalue
1594
            -
1595
              columnname: date
1596
              is_hidden: 1
1597
            -
1598
              columnname: category
1599
            -
1600
              columnname: public
1601
            -
1602
              columnname: temporary
1603
            -
1604
              columnname: actions
1605
              cannot_be_toggled: 1
1606
              cannot_be_modified: 1
1585
  pos:
1607
  pos:
1586
    pay:
1608
    pay:
1587
      invoices:
1609
      invoices:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-2 / +7 lines)
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
- 

Return to bug 21877