Lines 1-6
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE JSON.Escape %] |
2 |
[% USE JSON.Escape %] |
3 |
[% USE Asset %] |
3 |
[% USE Asset %] |
|
|
4 |
[% USE TablesSettings %] |
4 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title>MARC modification templates › Tools › Koha</title> |
7 |
<title>MARC modification templates › Tools › Koha</title> |
Lines 86-98
Link Here
|
86 |
<table id="templatest"> |
87 |
<table id="templatest"> |
87 |
<thead> |
88 |
<thead> |
88 |
<tr> |
89 |
<tr> |
|
|
90 |
<th>Id</th> |
89 |
<th>Template</th> |
91 |
<th>Template</th> |
90 |
<th class="noExport">Actions</th> |
92 |
<th class="NoSort noExport">Actions</th> |
91 |
</tr> |
93 |
</tr> |
92 |
</thead> |
94 |
</thead> |
93 |
<tbody> |
95 |
<tbody> |
94 |
[% FOREACH TemplatesLoo IN TemplatesLoop %] |
96 |
[% FOREACH TemplatesLoo IN TemplatesLoop %] |
95 |
<tr> |
97 |
<tr> |
|
|
98 |
<td>[% TemplatesLoo.template_id | html %]</td> |
96 |
<td>[% TemplatesLoo.name | html %]</td> |
99 |
<td>[% TemplatesLoo.name | html %]</td> |
97 |
<td class="actions"> |
100 |
<td class="actions"> |
98 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id | html %]&op=select_template" ><i class="fa fa-fw fa-pencil"></i> Edit actions</a> |
101 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id | html %]&op=select_template" ><i class="fa fa-fw fa-pencil"></i> Edit actions</a> |
Lines 352-363
Link Here
|
352 |
|
355 |
|
353 |
[% MACRO jsinclude BLOCK %] |
356 |
[% MACRO jsinclude BLOCK %] |
354 |
[% Asset.js("js/tools-menu.js") | $raw %] |
357 |
[% Asset.js("js/tools-menu.js") | $raw %] |
355 |
[% Asset.js("js/marc_modification_templates.js") | $raw %] |
358 |
[% INCLUDE 'datatables.inc' %] |
|
|
359 |
[% INCLUDE 'columns_settings.inc' %] |
356 |
<script> |
360 |
<script> |
|
|
361 |
columns_settings = [% TablesSettings.GetColumns('tools', 'marc-modification-templates', 'templatest', 'json') | $raw %]; |
357 |
[% IF ActionsLoop %] |
362 |
[% IF ActionsLoop %] |
358 |
var mmtas = [% ActionsLoop.json | $raw %] |
363 |
var mmtas = [% ActionsLoop.json | $raw %] |
359 |
[% END %] |
364 |
[% END %] |
360 |
</script> |
365 |
</script> |
|
|
366 |
[% Asset.js("js/marc_modification_templates.js") | $raw %] |
361 |
[% END %] |
367 |
[% END %] |
362 |
|
368 |
|
363 |
[% INCLUDE 'intranet-bottom.inc' %] |
369 |
[% INCLUDE 'intranet-bottom.inc' %] |