Lines 70-76
Link Here
|
70 |
<div id="toolbar" class="btn-toolbar"> |
70 |
<div id="toolbar" class="btn-toolbar"> |
71 |
<a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default duplicate_template"><i class="fa fa-plus"></i> New template</a> |
71 |
<a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default duplicate_template"><i class="fa fa-plus"></i> New template</a> |
72 |
[% IF ( template_id != '' ) %] |
72 |
[% IF ( template_id != '' ) %] |
73 |
<a href="#" id="new_action" class="btn btn-default"><i class="fa fa-plus"></i> New action</a> |
73 |
<a href="#" class="btn btn-default new_action"><i class="fa fa-plus"></i> New action</a> |
74 |
<a class="btn btn-default delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% template_id | html %]&op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete template</a> |
74 |
<a class="btn btn-default delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% template_id | html %]&op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete template</a> |
75 |
[% END %] |
75 |
[% END %] |
76 |
</div> |
76 |
</div> |
Lines 208-214
Link Here
|
208 |
</table> |
208 |
</table> |
209 |
</div> <!-- /.page-section --> |
209 |
</div> <!-- /.page-section --> |
210 |
[% ELSE %] |
210 |
[% ELSE %] |
211 |
<div class="dialog message template_actions"><p>There are no defined actions for this template.</p></div> |
211 |
<div class="dialog message" id="no_defined_actions"> |
|
|
212 |
<p>There are no defined actions for this template.</p> |
213 |
<p><a href="#" class="btn btn-default approve new_action"><i class="fa fa-plus" aria-hidden="true"></i> New action</a></p> |
214 |
</div> |
212 |
[% END # /IF ActionsLoop %] |
215 |
[% END # /IF ActionsLoop %] |
213 |
|
216 |
|
214 |
<form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_action" > |
217 |
<form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_action" > |
Lines 307-313
Link Here
|
307 |
|
310 |
|
308 |
[% ELSE %] |
311 |
[% ELSE %] |
309 |
<h1>MARC modification templates</h1> |
312 |
<h1>MARC modification templates</h1> |
310 |
<div class="dialog message"><p>There are no defined templates. Please create a template first.</p></div> |
313 |
<div class="dialog message"> |
|
|
314 |
<p>There are no defined templates. Please create a template first.</p> |
315 |
<a href="#" data-toggle="modal" data-target="#createTemplate" class="btn btn-default"><i class="fa fa-plus" aria-hidden="true"></i> Create a new template</a> |
316 |
</div> |
311 |
[% END # /IF TemplatesLoop %] |
317 |
[% END # /IF TemplatesLoop %] |
312 |
|
318 |
|
313 |
<!-- Modal to create new template --> |
319 |
<!-- Modal to create new template --> |