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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt (-5 / +15 lines)
Lines 2-14 Link Here
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Koha to MARC mapping</title>
3
<title>Koha &rsaquo; Administration &rsaquo; Koha to MARC mapping</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
5
</head>
6
</head>
6
7
7
<body id="admin_koha2marclinks" class="admin">
8
<body id="admin_koha2marclinks" class="admin">
8
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'prefs-admin-search.inc' %]
10
[% INCLUDE 'prefs-admin-search.inc' %]
10
11
11
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC Mapping</a> &rsaquo;</div>
12
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC Mapping</a></div>
12
13
13
<div id="doc3" class="yui-t2">
14
<div id="doc3" class="yui-t2">
14
15
Lines 39-48 Link Here
39
    <td>[% loo.tagfield %]</td>
40
    <td>[% loo.tagfield %]</td>
40
    <td>[% loo.tagsubfield %]</td>
41
    <td>[% loo.tagsubfield %]</td>
41
    <td>[% loo.liblibrarian %]</td>
42
    <td>[% loo.liblibrarian %]</td>
42
    <td>
43
    <td class="actions">
43
        [% IF !loo.readonly %]
44
        [% IF !loo.readonly %]
44
            <a onclick="AddFld('[% loo.kohafield %]');" class="btn btn-default btn-xs">Add</a>
45
            <a onclick="AddFld('[% loo.kohafield %]');" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</a>
45
            [% IF loo.tagfield %] <a onclick="RemFld('[% loo.tagfield %]','[% loo.tagsubfield %]');" class="btn btn-default btn-xs">Remove</a> [% END %]
46
            [% IF loo.tagfield %] <a onclick="RemFld('[% loo.tagfield %]','[% loo.tagsubfield %]');" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Remove</a> [% END %]
46
        [% END %]
47
        [% END %]
47
    </td>
48
    </td>
48
    </td>
49
    </td>
Lines 66-71 Link Here
66
</div>
67
</div>
67
68
68
[% MACRO jsinclude BLOCK %]
69
[% MACRO jsinclude BLOCK %]
70
    [% INCLUDE 'datatables.inc' %]
69
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
71
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
70
    <script type="text/javascript">
72
    <script type="text/javascript">
71
        function AddFld(kohafield) {
73
        function AddFld(kohafield) {
Lines 85-90 Link Here
85
                $('#koha2marc').submit();
87
                $('#koha2marc').submit();
86
            }
88
            }
87
        }
89
        }
90
        $(document).ready(function() {
91
            $("#kohafields").dataTable($.extend(true, {}, dataTablesDefaults, {
92
                "aoColumnDefs": [
93
                    { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
94
                ],
95
                "paging":   false
96
            } ));
97
98
         });
88
    </script>
99
    </script>
89
[% END %]
100
[% END %]
90
[% INCLUDE 'intranet-bottom.inc' %]
101
[% INCLUDE 'intranet-bottom.inc' %]
91
- 

Return to bug 19805