Lines 1-3
Link Here
|
|
|
1 |
[% BLOCK final_match_link %] |
2 |
[% IF ( record.record_type == 'biblio' ) %] |
3 |
<a target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% record.final_match_id %]">[% record.final_match_id %]</a> |
4 |
[% ELSIF ( record.record_type == 'auth' ) %] |
5 |
<a href="/cgi-bin/koha/authorities/detail.pl?authid=[% record.final_match_id %]">[% record.final_match_id %]</a> |
6 |
[% END %] |
7 |
[% END %] |
8 |
[% BLOCK match_link %] |
9 |
[% IF ( record_lis.match_id ) %] |
10 |
<tr> |
11 |
<td /> |
12 |
[% IF ( record.record_type == 'biblio' ) %] |
13 |
<td class="highlight" colspan="5">Matches biblio [% record_lis.match_id %] (score = [% record_lis.match_score %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% record_lis.match_id %]">[% record_lis.match_citation %]</a></td> |
14 |
[% ELSIF ( record.record_type == 'auth' ) %] |
15 |
<td class="highlight" colspan="5">Matches authority [% record_lis.match_id %] (score = [% record_lis.match_score %]): <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% record_lis.match_id %]">[% record_lis.match_citation %]</a> | |
16 |
<a href="/cgi-bin/koha/authorities/merge.pl?mergereference=breeding&authid=[% record_lis.match_id %]&authid=[% record_lis.import_record_id %]">Merge</a> |
17 |
</td> |
18 |
[% END %] |
19 |
</tr> |
20 |
[% ELSIF ( record.record_type == 'auth') %] |
21 |
<tr data-authid="[% record_lis.import_record_id %]"> |
22 |
<td /> |
23 |
<td class="highlight" colspan="4"><a href="#" class="merge_auth">Search for a record to merge in a new window</a></td> |
24 |
</tr> |
25 |
[% END %] |
26 |
[% END %] |
27 |
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
28 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Tools › Manage staged MARC records |
29 |
<title>Koha › Tools › Manage staged MARC records |
3 |
[% IF ( import_batch_id ) %] |
30 |
[% IF ( import_batch_id ) %] |
Lines 454-459
Page
Link Here
|
454 |
</table> |
481 |
</table> |
455 |
[% END %] |
482 |
[% END %] |
456 |
|
483 |
|
|
|
484 |
[% IF ( record_list ) %] |
485 |
[% IF ( pages ) %] |
486 |
<div class="pages"> |
487 |
Page |
488 |
[% FOREACH page IN pages %] |
489 |
[% IF ( page.current_page ) %] |
490 |
<span class="current">[% page.page_number %]</span> |
491 |
[% ELSE %] |
492 |
<a class="nav" href="[% page.script_name %]?import_batch_id=[% import_batch_id %]&offset=[% page.offset %]">[% page.page_number %]</a> |
493 |
[% END %] |
494 |
[% END %] |
495 |
</div> |
496 |
[% END %] |
497 |
<table> |
498 |
<tr> |
499 |
<th>#</th> |
500 |
<th>Citation</th> |
501 |
<th>Status</th> |
502 |
<th>Match?</th> |
503 |
<th>Record</th> |
504 |
<th><abbr title="Differences between the original biblio and the imported" lang="en">Diff</abbr></th> |
505 |
|
506 |
</tr> |
507 |
[% FOREACH record_lis IN record_list %] |
508 |
[% UNLESS ( loop.odd ) %]<tr data-id="[% record_lis.import_record_id %]" class="highlight">[% ELSE %]<tr data-id="[% record_lis.import_record_id %]">[% END %] |
509 |
<td>[% record_lis.record_sequence %]</td> |
510 |
<td><a class="citation" href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% record_lis.import_record_id %]" rel="gb_page_center[600,500]">[% record_lis.citation %]</a></td> |
511 |
<td> |
512 |
[% IF ( record_lis.status == 'imported' ) %] |
513 |
Imported |
514 |
[% ELSIF ( record_lis.status == 'ignored' ) %] |
515 |
Ignored |
516 |
[% ELSIF ( record_lis.status == 'reverted' ) %] |
517 |
Reverted |
518 |
[% ELSIF ( record_lis.status == 'staged' ) %] |
519 |
Staged |
520 |
[% ELSIF ( record_lis.status == 'error' ) %] |
521 |
Error |
522 |
[% ELSE %] |
523 |
[% record_lis.status %] |
524 |
[% END %] |
525 |
</td> |
526 |
<td> |
527 |
[% IF ( record_lis.overlay_status == 'no_match' ) %] |
528 |
No match |
529 |
[% ELSIF ( record_lis.overlay_status == 'match_applied' ) %] |
530 |
Match applied |
531 |
[% ELSIF ( record_lis.overlay_status == 'auto_match' ) %] |
532 |
Match found |
533 |
[% ELSE %] |
534 |
[% record_lis.overlay_status %] |
535 |
[% END %] |
536 |
</td> |
537 |
<td>[% IF ( record_lis.final_match_id ) %] |
538 |
[% PROCESS final_match_link record=record_lis %] |
539 |
[% END %] |
540 |
</td> |
541 |
[% IF ( record_lis.match_id ) %] |
542 |
<td> |
543 |
<a rel="gb_page_center[960,600]" href="/cgi-bin/koha/catalogue/showdiffmarc.pl?importid=[% record_lis.import_record_id %]&id=[% record_lis.match_id %]">View</a> |
544 |
</td> |
545 |
[% ELSE %] |
546 |
<td> </td> |
547 |
[% END %] |
548 |
</tr> |
549 |
[% PROCESS match_link record=record_lis %] |
550 |
[% END %] |
551 |
</table> |
552 |
[% IF ( pages ) %] |
553 |
<div class="pages"> |
554 |
Page |
555 |
[% FOREACH page IN pages %] |
556 |
[% IF ( page.current_page ) %] |
557 |
<span class="current">[% page.page_number %]</span> |
558 |
[% ELSE %] |
559 |
<a class="nav" href="[% page.script_name %]?import_batch_id=[% import_batch_id %]&offset=[% page.offset %]">[% page.page_number %]</a> |
560 |
[% END %] |
561 |
[% END %] |
562 |
</div> |
563 |
[% END %] |
564 |
[% ELSE %] |
565 |
[% IF ( batch_info ) %] |
566 |
<div class="dialog alert">There are no records in this batch to import. |
567 |
<a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged MARC records</a>.</div> |
568 |
|
569 |
[% END %] |
570 |
[% END %] |
571 |
|
457 |
</div> |
572 |
</div> |
458 |
</div> |
573 |
</div> |
459 |
<div class="yui-b"> |
574 |
<div class="yui-b"> |
460 |
- |
|
|