Lines 2-18
Link Here
|
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% SET footerjs = 1 %] |
3 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Administration › Record matching rules |
5 |
<title> |
6 |
[% IF ( matching_rule_form ) %] |
6 |
Koha › Administration › Record matching rules |
7 |
[% IF ( edit_matching_rule ) %] |
7 |
[% IF ( matching_rule_form ) %] |
8 |
› Modify record matching rule |
8 |
[% IF ( edit_matching_rule ) %] |
9 |
[% ELSE %] |
9 |
› Modify record matching rule |
10 |
› Add record matching rule |
10 |
[% ELSE %] |
|
|
11 |
› Add record matching rule |
12 |
[% END %] |
13 |
[% END %] |
14 |
[% IF ( delete_matching_rule_form ) %] |
15 |
› Confirm deletion of record matching rule "[% code | html %]" |
11 |
[% END %] |
16 |
[% END %] |
12 |
[% END %] |
|
|
13 |
[% IF ( delete_matching_rule_form ) %] |
14 |
› Confirm deletion of record matching rule "[% code | html %]" |
15 |
[% END %] |
16 |
</title> |
17 |
</title> |
17 |
[% INCLUDE 'doc-head-close.inc' %] |
18 |
[% INCLUDE 'doc-head-close.inc' %] |
18 |
|
19 |
|
Lines 80-86
Link Here
|
80 |
[% IF ( delete_matching_rule_form ) %] |
81 |
[% IF ( delete_matching_rule_form ) %] |
81 |
› Confirm deletion of record matching rule "[% code | html %]" |
82 |
› Confirm deletion of record matching rule "[% code | html %]" |
82 |
[% END %] |
83 |
[% END %] |
83 |
</div> |
84 |
</div> <!-- /#breadcrumbs --> |
84 |
|
85 |
|
85 |
<div class="main container-fluid"> |
86 |
<div class="main container-fluid"> |
86 |
<div class="row"> |
87 |
<div class="row"> |
Lines 129-135
Link Here
|
129 |
</select><span class="required">Required</span> |
130 |
</select><span class="required">Required</span> |
130 |
</li> |
131 |
</li> |
131 |
</ol> |
132 |
</ol> |
132 |
</fieldset> |
133 |
</fieldset> <!-- /.rows --> |
133 |
|
134 |
|
134 |
<fieldset class="rows" id="match_points"> |
135 |
<fieldset class="rows" id="match_points"> |
135 |
<h4>Match points</h4> |
136 |
<h4>Match points</h4> |
Lines 193-205
Link Here
|
193 |
</li> |
194 |
</li> |
194 |
[% END %] |
195 |
[% END %] |
195 |
</ol> |
196 |
</ol> |
196 |
</fieldset> |
197 |
</fieldset> <!-- /#mp_[% matchpoint.mp_num | html %]_c_[% component.comp_num | html %] --> |
197 |
[% END %] |
198 |
[% END #/FOREACH component %] |
198 |
</fieldset> |
199 |
</fieldset> <!-- /.rows --> |
199 |
<br style="clear:both;" /> |
200 |
<br style="clear:both;" /> |
200 |
</div> |
201 |
</div> <!-- /#mp_[% matchpoint.mp_num | html %] --> |
201 |
[% END %] |
202 |
[% END # /FOREACH matchpoint %] |
202 |
[% ELSE %] |
203 |
[% ELSE # IF ( edit_matching_rule ) %] |
203 |
<div id="mp_1" class="matchgroup"> |
204 |
<div id="mp_1" class="matchgroup"> |
204 |
<fieldset class="rows"> |
205 |
<fieldset class="rows"> |
205 |
<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> |
206 |
<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> |
Lines 237-248
Link Here
|
237 |
[% PROCESS norms_select selected_norm="none" id="mp_1_c_1_n_1_norm" name="mp_1_c_1_n_1_norm" %] |
238 |
[% PROCESS norms_select selected_norm="none" id="mp_1_c_1_n_1_norm" name="mp_1_c_1_n_1_norm" %] |
238 |
</li> |
239 |
</li> |
239 |
</ol> |
240 |
</ol> |
240 |
</fieldset> |
241 |
</fieldset> <!-- /#mp_1_c_1 --> |
241 |
</fieldset> |
242 |
</fieldset> <!-- /.rows --> |
242 |
<br style="clear:both;" /> |
243 |
<br style="clear:both;" /> |
243 |
</div> |
244 |
</div> <!-- /#mp_1 --> |
244 |
[% END %] |
245 |
[% END # /IF ( edit_matching_rule ) %] |
245 |
</fieldset> |
246 |
</fieldset> <!-- /#match_points --> |
246 |
|
247 |
|
247 |
<fieldset class="rows" id="match_checks"> |
248 |
<fieldset class="rows" id="match_checks"> |
248 |
<h4>Required match checks</h4> |
249 |
<h4>Required match checks</h4> |
Lines 291-298
Link Here
|
291 |
</li> |
292 |
</li> |
292 |
[% END %] |
293 |
[% END %] |
293 |
</ol> |
294 |
</ol> |
294 |
</fieldset> |
295 |
</fieldset> <!-- /#mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %] --> |
295 |
[% END %] |
296 |
[% END # /FOREACH src_component %] |
296 |
|
297 |
|
297 |
[% FOREACH tgt_component IN matchcheck.tgt_components %] |
298 |
[% FOREACH tgt_component IN matchcheck.tgt_components %] |
298 |
<fieldset class="rows" id="mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %]"> |
299 |
<fieldset class="rows" id="mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %]"> |
Lines 322-334
Link Here
|
322 |
</li> |
323 |
</li> |
323 |
[% END %] |
324 |
[% END %] |
324 |
</ol> |
325 |
</ol> |
325 |
</fieldset> |
326 |
</fieldset> <!-- /#mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %] --> |
326 |
[% END %] |
327 |
[% END # /FOREACH tgt_component %] |
327 |
</fieldset> |
328 |
</fieldset> <!-- /.rows --> |
328 |
<br style="clear:both;" /> |
329 |
<br style="clear:both;" /> |
329 |
</div> |
330 |
</div> <!-- /#mc_[% matchcheck.mc_num | html %] --> |
330 |
[% END %] |
331 |
[% END # /FOREACH matchcheck %] |
331 |
[% ELSE %] |
332 |
[% ELSE # IF ( edit_matching_rule ) %] |
332 |
<div id="mc_1" class="matchgroup"> |
333 |
<div id="mc_1" class="matchgroup"> |
333 |
<fieldset class="rows"> |
334 |
<fieldset class="rows"> |
334 |
<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> |
335 |
<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> |
Lines 383-393
Link Here
|
383 |
[% PROCESS norms_select selected_norm="none" id="mc_1_tgt_c_1_n_1_norm" name="mc_1_tgt_c_1_n_1_norm" %] |
384 |
[% PROCESS norms_select selected_norm="none" id="mc_1_tgt_c_1_n_1_norm" name="mc_1_tgt_c_1_n_1_norm" %] |
384 |
</li> |
385 |
</li> |
385 |
</ol> |
386 |
</ol> |
386 |
</fieldset> |
387 |
</fieldset> <!-- /#mc_1_tgt_c_1 --> |
387 |
</fieldset> |
388 |
</fieldset> <!-- /.rows --> |
388 |
<br style="clear:both;" /> |
389 |
<br style="clear:both;" /> |
389 |
</div> |
390 |
</div> <!-- /#mc_1 --> |
390 |
[% END %] |
391 |
[% END # /IF ( edit_matching_rule ) %] |
391 |
</fieldset> |
392 |
</fieldset> |
392 |
<fieldset class="action"> |
393 |
<fieldset class="action"> |
393 |
[% IF ( edit_matching_rule ) %] |
394 |
[% IF ( edit_matching_rule ) %] |
Lines 396-404
Link Here
|
396 |
<input type="button" value="Save" onclick="CheckMatchingRuleForm(this.form)" /> |
397 |
<input type="button" value="Save" onclick="CheckMatchingRuleForm(this.form)" /> |
397 |
[% END %] |
398 |
[% END %] |
398 |
<a class="cancel" href="/cgi-bin/koha/admin/matching-rules.pl">Cancel</a> |
399 |
<a class="cancel" href="/cgi-bin/koha/admin/matching-rules.pl">Cancel</a> |
399 |
</fieldset> |
400 |
</fieldset> <!-- /.action --> |
400 |
</form> |
401 |
</form> |
401 |
[% END %] |
402 |
[% END # /IF ( matching_rule_form ) %] |
402 |
|
403 |
|
403 |
[% IF ( delete_matching_rule_form ) %] |
404 |
[% IF ( delete_matching_rule_form ) %] |
404 |
<div class="dialog alert"> |
405 |
<div class="dialog alert"> |
Lines 412-418
Link Here
|
412 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
413 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
413 |
</form> |
414 |
</form> |
414 |
</div> |
415 |
</div> |
415 |
[% END %] |
416 |
[% END # /IF ( delete_matching_rule_form ) %] |
416 |
|
417 |
|
417 |
[% IF ( display_list ) %] |
418 |
[% IF ( display_list ) %] |
418 |
|
419 |
|
Lines 453-462
Link Here
|
453 |
</table> |
454 |
</table> |
454 |
[% ELSE %] |
455 |
[% ELSE %] |
455 |
<p>There are no saved matching rules.</p> |
456 |
<p>There are no saved matching rules.</p> |
456 |
[% END %] |
457 |
[% END # /IF ( available_matching_rules ) %] |
457 |
|
458 |
|
458 |
<div class="pages">[% pagination_bar | $raw %]</div> |
459 |
<div class="pages">[% pagination_bar | $raw %]</div> |
459 |
[% END %] |
460 |
[% END # /IF ( display_list ) %] |
460 |
|
461 |
|
461 |
[% IF ( matching_rule_form ) %] |
462 |
[% IF ( matching_rule_form ) %] |
462 |
<div id="mp_template" class="matchgroup" style="display:none;"> |
463 |
<div id="mp_template" class="matchgroup" style="display:none;"> |
Lines 496-505
Link Here
|
496 |
[% PROCESS norms_select selected_norm="none" id="mp_num_c_1_n_1_norm" name="mp_num_c_1_n_1_norm" %] |
497 |
[% PROCESS norms_select selected_norm="none" id="mp_num_c_1_n_1_norm" name="mp_num_c_1_n_1_norm" %] |
497 |
</li> |
498 |
</li> |
498 |
</ol> |
499 |
</ol> |
499 |
</fieldset> |
500 |
</fieldset> <!-- /#mp_num_c_1 --> |
500 |
</fieldset> |
501 |
</fieldset> <!-- /.rows --> |
501 |
<br style="clear:both;" /> |
502 |
<br style="clear:both;" /> |
502 |
</div> |
503 |
</div> <!-- /#mp_template --> |
503 |
|
504 |
|
504 |
<div id="mc_template" class="matchgroup" style="display:none"> |
505 |
<div id="mc_template" class="matchgroup" style="display:none"> |
505 |
<fieldset class="rows"> |
506 |
<fieldset class="rows"> |
Lines 529-535
Link Here
|
529 |
[% PROCESS norms_select selected_norm="none" id="mc_num_src_c_1_n_1_norm" name="mc_num_src_c_1_n_1_norm" %] |
530 |
[% PROCESS norms_select selected_norm="none" id="mc_num_src_c_1_n_1_norm" name="mc_num_src_c_1_n_1_norm" %] |
530 |
</li> |
531 |
</li> |
531 |
</ol> |
532 |
</ol> |
532 |
</fieldset> |
533 |
</fieldset> <!-- /#mc_num_src_c_1 --> |
533 |
<fieldset class="rows" id="mc_num_tgt_c_1"> |
534 |
<fieldset class="rows" id="mc_num_tgt_c_1"> |
534 |
<legend>Target (database) record check field</legend> |
535 |
<legend>Target (database) record check field</legend> |
535 |
<ol> |
536 |
<ol> |
Lines 554-564
Link Here
|
554 |
[% PROCESS norms_select selected_norm="none" id="mc_num_tgt_c_1_n_1_norm" name="mc_num_tgt_c_1_n_1_norm" %] |
555 |
[% PROCESS norms_select selected_norm="none" id="mc_num_tgt_c_1_n_1_norm" name="mc_num_tgt_c_1_n_1_norm" %] |
555 |
</li> |
556 |
</li> |
556 |
</ol> |
557 |
</ol> |
557 |
</fieldset> |
558 |
</fieldset> <!-- #mc_num_tgt_c_1 --> |
558 |
</fieldset> |
559 |
</fieldset> <!-- /.rows --> |
559 |
<br style="clear:both;" /> |
560 |
<br style="clear:both;" /> |
560 |
</div> |
561 |
</div> <!-- /#mc_template --> |
561 |
[% END %] |
562 |
[% END # /IF ( matching_rule_form ) %] |
562 |
|
563 |
|
563 |
</main> |
564 |
</main> |
564 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
565 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
565 |
- |
|
|