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

(-)a/admin/columns_settings.yml (+22 lines)
Lines 1594-1599 modules: Link Here
1594
              cannot_be_toggled: 1
1594
              cannot_be_toggled: 1
1595
              cannot_be_modified: 1
1595
              cannot_be_modified: 1
1596
1596
1597
    upload:
1598
      uploadresults:
1599
        columns:
1600
            -
1601
              columnname: filename
1602
            -
1603
              columnname: size
1604
            -
1605
              columnname: hashvalue
1606
            -
1607
              columnname: date
1608
              is_hidden: 1
1609
            -
1610
              columnname: category
1611
            -
1612
              columnname: public
1613
            -
1614
              columnname: temporary
1615
            -
1616
              columnname: actions
1617
              cannot_be_toggled: 1
1618
              cannot_be_modified: 1
1597
  pos:
1619
  pos:
1598
    pay:
1620
    pay:
1599
      invoices:
1621
      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 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
- 

Return to bug 28177