Lines 6-14
Link Here
|
6 |
<title>[% FILTER collapse %] |
6 |
<title>[% FILTER collapse %] |
7 |
[% IF ( matching_rule_form ) %] |
7 |
[% IF ( matching_rule_form ) %] |
8 |
[% IF ( edit_matching_rule ) %] |
8 |
[% IF ( edit_matching_rule ) %] |
9 |
[% t("Modify record matching rule") | html %] › |
9 |
[% tx("Modify record matching rule '{code}'", { code = code }) | html %] › |
10 |
[% ELSE %] |
10 |
[% ELSE %] |
11 |
[% t("Add record matching rule") | html %] › |
11 |
[% t("New record matching rule") | html %] › |
12 |
[% END %] |
12 |
[% END %] |
13 |
[% END %] |
13 |
[% END %] |
14 |
[% IF ( delete_matching_rule_form ) %] |
14 |
[% IF ( delete_matching_rule_form ) %] |
Lines 79-87
Link Here
|
79 |
[% END %] |
79 |
[% END %] |
80 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
80 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
81 |
[% IF ( edit_matching_rule ) %] |
81 |
[% IF ( edit_matching_rule ) %] |
82 |
<span>Modify record matching rule</span> |
82 |
[% tx("Modify record matching rule '{code}'", { code = code }) | html %] |
83 |
[% ELSE %] |
83 |
[% ELSE %] |
84 |
<span>Add record matching rule</span> |
84 |
<span>New record matching rule</span> |
85 |
[% END %] |
85 |
[% END %] |
86 |
[% END %] |
86 |
[% END %] |
87 |
|
87 |
|
Lines 90-96
Link Here
|
90 |
<a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a> |
90 |
<a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a> |
91 |
[% END %] |
91 |
[% END %] |
92 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
92 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
93 |
<span>Confirm deletion of record matching rule '[% code | html %]'</span> |
93 |
[% tx("Confirm deletion of record matching rule '{code}'", { code = code }) | html %] |
94 |
[% END %] |
94 |
[% END %] |
95 |
|
95 |
|
96 |
[% ELSE %] |
96 |
[% ELSE %] |
Lines 108-116
Link Here
|
108 |
|
108 |
|
109 |
[% IF ( matching_rule_form ) %] |
109 |
[% IF ( matching_rule_form ) %] |
110 |
[% IF ( edit_matching_rule ) %] |
110 |
[% IF ( edit_matching_rule ) %] |
111 |
<h1>Modify record matching rule</h1> |
111 |
<h1>[% tx("Modify record matching rule '{code}'", { code = code }) | html %]</h1> |
112 |
[% ELSE %] |
112 |
[% ELSE %] |
113 |
<h1>Add record matching rule</h1> |
113 |
<h1>New record matching rule</h1> |
114 |
[% END %] |
114 |
[% END %] |
115 |
<form action="[% script_name | html %]" name="Aform" method="post"> |
115 |
<form action="[% script_name | html %]" name="Aform" method="post"> |
116 |
<input type="hidden" name="op" value="[% confirm_op | html %]" /> |
116 |
<input type="hidden" name="op" value="[% confirm_op | html %]" /> |
Lines 158-168
Link Here
|
158 |
[% ELSE %] |
158 |
[% ELSE %] |
159 |
<p id="addMatchPoint"> |
159 |
<p id="addMatchPoint"> |
160 |
[% END %] |
160 |
[% END %] |
161 |
<a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">Add match point</a> |
161 |
<a href="#" class="btn btn-link" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;"><i class="fa fa-plus" aria-hidden="true"></i> New match point</a> |
162 |
</p> |
162 |
</p> |
163 |
[% ELSE %] |
163 |
[% ELSE %] |
164 |
<p id="addMatchPoint" style="display:none;"><a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;"> |
164 |
<p id="addMatchPoint" style="display:none;"><a href="#" class="btn btn-link" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;"> |
165 |
Add match point</a> |
165 |
<i class="fa fa-plus" aria-hidden="true"></i> New match point</a> |
166 |
</p> |
166 |
</p> |
167 |
[% END %] |
167 |
[% END %] |
168 |
|
168 |
|
Lines 170-176
Link Here
|
170 |
[% FOREACH matchpoint IN matchpoints %] |
170 |
[% FOREACH matchpoint IN matchpoints %] |
171 |
<div id="mp_[% matchpoint.mp_num | html %]" class="matchgroup"> |
171 |
<div id="mp_[% matchpoint.mp_num | html %]" class="matchgroup"> |
172 |
<fieldset class="rows"> |
172 |
<fieldset class="rows"> |
173 |
<legend>Match point [% matchpoint.mp_num | html %] | <a href="#" class="button" onclick="InsertMatchpoint('mp_[% matchpoint.mp_num | html %]', 'mp_template'); return false;">Add match point</a> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></legend> |
173 |
<legend>Match point [% matchpoint.mp_num | html %]</legend> |
|
|
174 |
<p><a href="#" class="btn btn-link" onclick="InsertMatchpoint('mp_[% matchpoint.mp_num | html %]', 'mp_template'); return false;"><i class="fa fa-plus" aria-hidden="true"></i> New match point</a> <a href="#" class="btn btn-link" onclick="DeleteMatchpoint(this); return false;"><i class="fa fa-trash-can" aria-hidden="true"></i> Remove this match point</a></p> |
174 |
<ol> |
175 |
<ol> |
175 |
<li> |
176 |
<li> |
176 |
<label for="mp_[% matchpoint.mp_num | html %]_search_index">Search index: </label> |
177 |
<label for="mp_[% matchpoint.mp_num | html %]_search_index">Search index: </label> |
Lines 221-227
Link Here
|
221 |
[% ELSE # IF ( edit_matching_rule ) %] |
222 |
[% ELSE # IF ( edit_matching_rule ) %] |
222 |
<div id="mp_1" class="matchgroup"> |
223 |
<div id="mp_1" class="matchgroup"> |
223 |
<fieldset class="rows"> |
224 |
<fieldset class="rows"> |
224 |
<legend>Match point 1 | <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">Add match point</a> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></legend> |
225 |
<legend>Match point 1</legend> |
|
|
226 |
<p><a href="#" class="btn btn-link" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;"><i class="fa fa-plus" aria-hidden="true"></i> New match point</a> | <a href="#" class="btn btn-link" onclick="DeleteMatchpoint(this); return false;"><i class="fa fa-trash-can" aria-hidden="true"></i> Remove this match point</a></p> |
225 |
<ol> |
227 |
<ol> |
226 |
<li> |
228 |
<li> |
227 |
<label for="mp_1_search_index">Search index: </label> |
229 |
<label for="mp_1_search_index">Search index: </label> |
Lines 271-286
Link Here
|
271 |
[% ELSE %] |
273 |
[% ELSE %] |
272 |
<p id="addMatchCheck"> |
274 |
<p id="addMatchCheck"> |
273 |
[% END %] |
275 |
[% END %] |
274 |
<a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a></p> |
276 |
<a href="#" class="btn btn-link" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;"><i class="fa fa-plus" aria-hidden="true"></i> New match check</a></p> |
275 |
[% ELSE %] |
277 |
[% ELSE %] |
276 |
<p id="addMatchCheck" style="display:none;"><a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a></p> |
278 |
<p id="addMatchCheck" style="display:none;"><a href="#" class="btn btn-link" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;"><i class="fa fa-plus" aria-hidden="true"></i> New match check</a></p> |
277 |
[% END %] |
279 |
[% END %] |
278 |
|
280 |
|
279 |
[% IF ( edit_matching_rule ) %] |
281 |
[% IF ( edit_matching_rule ) %] |
280 |
[% FOREACH matchcheck IN matchchecks %] |
282 |
[% FOREACH matchcheck IN matchchecks %] |
281 |
<div id="mc_[% matchcheck.mc_num | html %]" class="matchgroup"> |
283 |
<div id="mc_[% matchcheck.mc_num | html %]" class="matchgroup"> |
282 |
<fieldset class="rows"> |
284 |
<fieldset class="rows"> |
283 |
<legend>Match check [% matchcheck.mc_num | html %]<a href="#" class="button" onclick="InsertMatchcheck('mc_[% matchcheck.mc_num | html %]', 'mc_template'); return false;">Add match check</a> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></legend> |
285 |
<legend>Match check [% matchcheck.mc_num | html %]</legend> |
|
|
286 |
<p><a href="#" class="btn btn-link" onclick="InsertMatchcheck('mc_[% matchcheck.mc_num | html %]', 'mc_template'); return false;"><i class="fa fa-plus" aria-hidden="true"></i> New match check</a> | <a href="#" class="btn btn-link" onclick="DeleteMatchcheck(this); return false;"><i class="fa fa-trash-can" aria-hidden="true"></i> Remove this match check</a></p> |
284 |
<input type="hidden" id="mc_[% matchcheck.mc_num | html %]_id" name="mc_[% matchcheck.mc_num | html %]_id" value="1" /> |
287 |
<input type="hidden" id="mc_[% matchcheck.mc_num | html %]_id" name="mc_[% matchcheck.mc_num | html %]_id" value="1" /> |
285 |
[% FOREACH src_component IN matchcheck.src_components %] |
288 |
[% FOREACH src_component IN matchcheck.src_components %] |
286 |
<fieldset class="rows" id="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]"> |
289 |
<fieldset class="rows" id="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]"> |
Lines 350-356
Link Here
|
350 |
[% ELSE # IF ( edit_matching_rule ) %] |
353 |
[% ELSE # IF ( edit_matching_rule ) %] |
351 |
<div id="mc_1" class="matchgroup"> |
354 |
<div id="mc_1" class="matchgroup"> |
352 |
<fieldset class="rows"> |
355 |
<fieldset class="rows"> |
353 |
<legend>Match check 1 | <a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></legend> |
356 |
<legend>Match check 1</legend> |
|
|
357 |
<p><a href="#" class="btn btn-link" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;"><i class="fa fa-plus" aria-hidden="true"></i> New match check</a> | <a href="#" class="btn btn-link" onclick="DeleteMatchcheck(this); return false;"><i class="fa fa-trash-can" aria-hidden="true"></i> Remove this match check</a></p> |
354 |
<input type="hidden" id="mc_1_id" name="mc_1_id" value="1" /> |
358 |
<input type="hidden" id="mc_1_id" name="mc_1_id" value="1" /> |
355 |
<fieldset class="rows" id="mc_1_src_c_1"> |
359 |
<fieldset class="rows" id="mc_1_src_c_1"> |
356 |
<legend>Source (incoming) record check field</legend> |
360 |
<legend>Source (incoming) record check field</legend> |
Lines 482-488
Link Here
|
482 |
[% IF ( matching_rule_form ) %] |
486 |
[% IF ( matching_rule_form ) %] |
483 |
<div id="mp_template" class="matchgroup" style="display:none;"> |
487 |
<div id="mp_template" class="matchgroup" style="display:none;"> |
484 |
<fieldset class="rows"> |
488 |
<fieldset class="rows"> |
485 |
<legend>Match point <span class="counter"></span> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></legend> |
489 |
<legend>Match point <span class="counter"></span></legend> |
|
|
490 |
<p><a href="#" class="btn btn-link" onclick="DeleteMatchpoint(this); return false;"><i class="fa fa-trash-can" aria-hidden="true"></i> Remove this match point</a></p> |
486 |
<ol> |
491 |
<ol> |
487 |
<li> |
492 |
<li> |
488 |
<label for="mp_num_search_index">Search index: </label> |
493 |
<label for="mp_num_search_index">Search index: </label> |
Lines 524-530
Link Here
|
524 |
|
529 |
|
525 |
<div id="mc_template" class="matchgroup" style="display:none"> |
530 |
<div id="mc_template" class="matchgroup" style="display:none"> |
526 |
<fieldset class="rows"> |
531 |
<fieldset class="rows"> |
527 |
<legend>Match check <span class="counter"></span> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></legend> |
532 |
<legend>Match check <span class="counter"></span></legend> |
|
|
533 |
<p><a href="#" class="button" onclick="DeleteMatchcheck(this); return false;"><i class="fa fa-trash-can" aria-hidden="true"></i> Remove this match check</a></p> |
528 |
<input type="hidden" id="mc_num_id" name="mc_num_id" value="1" /> |
534 |
<input type="hidden" id="mc_num_id" name="mc_num_id" value="1" /> |
529 |
<fieldset class="rows" id="mc_num_src_c_1"> |
535 |
<fieldset class="rows" id="mc_num_src_c_1"> |
530 |
<legend>Source (incoming) record check field</legend> |
536 |
<legend>Source (incoming) record check field</legend> |
531 |
- |
|
|