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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-11 / +21 lines)
Lines 263-275 Link Here
263
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
263
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
264
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
264
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
265
265
266
<table>
266
<table id="table_authsubfieldstructure">
267
    <tr>
267
    <thead>
268
        <th>Subfield</th>
268
        <tr>
269
        <th>Text</th>
269
            <th>Subfield</th>
270
        <th>Constraints</th>
270
            <th>Text</th>
271
        <th>&nbsp;</th>
271
            <th>Constraints</th>
272
    </tr>
272
            <th class="NoSort">&nbsp;</th>
273
        </tr>
274
    </thead>
275
    <tbody>
273
    [% FOREACH loo IN loop %]
276
    [% FOREACH loo IN loop %]
274
    <tr>
277
    <tr>
275
        <td>[% loo.tagsubfield | html %]</td>
278
        <td>[% loo.tagsubfield | html %]</td>
Lines 304-309 Link Here
304
        <td><a href="?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;authtypecode=[% authtypecode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a></td>
307
        <td><a href="?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;authtypecode=[% authtypecode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a></td>
305
    </tr>
308
    </tr>
306
    [% END %]
309
    [% END %]
310
    </tbody>
307
</table>
311
</table>
308
312
309
    <form action="[% script_name | html %]" method="get">
313
    <form action="[% script_name | html %]" method="get">
Lines 337-347 Link Here
337
     </div> <!-- /.row -->
341
     </div> <!-- /.row -->
338
342
339
[% MACRO jsinclude BLOCK %]
343
[% MACRO jsinclude BLOCK %]
344
    [% INCLUDE 'datatables.inc' %]
340
    [% Asset.js("js/admin-menu.js") | $raw %]
345
    [% Asset.js("js/admin-menu.js") | $raw %]
341
    <script>
346
    <script>
342
     $(document).ready(function() {
347
        $(document).ready(function() {
343
        $('#subfieldtabs').tabs();
348
            $('#subfieldtabs').tabs();
344
     });
349
            $("#table_authsubfieldstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
350
                "columnDefs": [
351
                    { 'sortable': false, 'targets': [ 'NoSort' ] }
352
                ],
353
                paginate: false
354
            }));
355
        });
345
    </script>
356
    </script>
346
[% END %]
357
[% END %]
347
[% INCLUDE 'intranet-bottom.inc' %]
358
[% INCLUDE 'intranet-bottom.inc' %]
348
- 

Return to bug 25832