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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt (-9 / +9 lines)
Lines 1-8 Link Here
1
[% USE raw %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; MARC overlay rules</title>
4
<title>Koha &rsaquo; Administration &rsaquo; MARC overlay rules</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% Asset.css("css/datatables.css") %]
6
[% Asset.css("css/datatables.css") | $raw %]
6
[% INCLUDE 'datatables.inc' %]
7
[% INCLUDE 'datatables.inc' %]
7
8
8
<style type="text/css">
9
<style type="text/css">
Lines 301-314 $(document).ready(function(){ Link Here
301
<h3>Remove rule?</h3>
302
<h3>Remove rule?</h3>
302
<p>Are you sure you want to remove the selected rule(s)?</p>
303
<p>Are you sure you want to remove the selected rule(s)?</p>
303
304
304
<form action="[% script_name %]" method="GET">
305
<form action="[% script_name | uri %]" method="GET">
305
    <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not remove</button>
306
    <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not remove</button>
306
</form>
307
</form>
307
    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
308
    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
308
</div>
309
</div>
309
[% END %]
310
[% END %]
310
311
311
<form action="[% script_name %]" method="POST" id="marc-overlay-rules-form">
312
<form action="[% script_name | uri %]" method="POST" id="marc-overlay-rules-form">
312
<table id="marc-overlay-rules">
313
<table id="marc-overlay-rules">
313
    <thead><tr>
314
    <thead><tr>
314
        <th>Rule</th>
315
        <th>Rule</th>
Lines 377-385 $(document).ready(function(){ Link Here
377
    [% END %]
378
    [% END %]
378
    <tbody>
379
    <tbody>
379
        [% FOREACH rule IN rules %]
380
        [% FOREACH rule IN rules %]
380
            <tr id="[% rule.id %]" class="rule[% IF rule.edit %]-edit[% END %]">
381
            <tr id="[% rule.id | html %]" class="rule[% IF rule.edit %]-edit[% END %]">
381
            [% IF rule.edit %]
382
            [% IF rule.edit %]
382
                <td>[% rule.id %]</td>
383
                <td>[% rule.id | html %]</td>
383
                <td>
384
                <td>
384
                    <select name="module">
385
                    <select name="module">
385
                        [% IF rule.module == "source" %]
386
                        [% IF rule.module == "source" %]
Lines 471-478 $(document).ready(function(){ Link Here
471
                <td class="rule-operation-action" data-operation="remove">[% IF rule.remove %]Remove[% ELSE %]Skip[% END %]</td>
472
                <td class="rule-operation-action" data-operation="remove">[% IF rule.remove %]Remove[% ELSE %]Skip[% END %]</td>
472
                <td class="rule-operation-action" data-operation="delete">[% IF rule.delete %]Delete[% ELSE %]Skip[% END %]</td>
473
                <td class="rule-operation-action" data-operation="delete">[% IF rule.delete %]Delete[% ELSE %]Skip[% END %]</td>
473
                <td class="actions">
474
                <td class="actions">
474
                    <a href="?op=remove&id=[% rule.id %]" title="Delete" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
475
                    <a href="?op=remove&id=[% rule.id | uri %]" title="Delete" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
475
                    <a href="?op=edit&id=[% rule.id %]" title="Edit" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
476
                    <a href="?op=edit&id=[% rule.id | uri %]" title="Edit" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
476
                </td>
477
                </td>
477
                <td>
478
                <td>
478
                    [% IF rule.removemarked %]
479
                    [% IF rule.removemarked %]
Lines 488-494 $(document).ready(function(){ Link Here
488
</table>
489
</table>
489
</form>
490
</form>
490
491
491
<form action="[% script_name %]" method="post">
492
<form action="[% script_name | uri %]" method="post">
492
<input type="hidden" name="op" value="redo-matching" />
493
<input type="hidden" name="op" value="redo-matching" />
493
</form>
494
</form>
494
495
495
- 

Return to bug 14957