|
Lines 168-181
$(document).ready(function(){
Link Here
|
| 168 |
No matching rule in effect |
168 |
No matching rule in effect |
| 169 |
[% END %][% END %] |
169 |
[% END %][% END %] |
| 170 |
</li> |
170 |
</li> |
| 171 |
<li>[% IF ( can_commit ) %] <label for="overlay_action">Action if matching record found:</label> |
171 |
<li> |
| 172 |
[% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_overlay_action">Reset</a></span>[% ELSE %]<span class="label">Action if matching record found:</span>[% overlay_action %][% END %]</li> |
172 |
[% IF ( can_commit ) %] |
|
|
173 |
<label for="overlay_action">Action if matching record found:</label> |
| 174 |
[% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_overlay_action">Reset</a></span> |
| 175 |
[% ELSE %] |
| 176 |
<span class="label">Action if matching record found:</span> |
| 177 |
[% IF ( overlay_action == 'replace' ) %] |
| 178 |
Replace existing record with incoming record |
| 179 |
[% ELSIF ( overlay_action == 'create_new' ) %] |
| 180 |
Add incoming record |
| 181 |
[% ELSIF ( overlay_action == 'ignore' ) %] |
| 182 |
Ignore incoming record (its items may still be processed) |
| 183 |
[% ELSE %] |
| 184 |
[% overlay_action %] |
| 185 |
[% END %] |
| 186 |
[% END %]</li> |
| 173 |
|
187 |
|
| 174 |
<li>[% IF ( can_commit ) %]<label for="nomatch_action">Action if no match found:</label> |
188 |
<li> |
| 175 |
[% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_nomatch_action">Reset</a></span>[% ELSE %]<span class="label">Action if no match found:</span>[% nomatch_action %][% END %]</li> |
189 |
[% IF ( can_commit ) %] |
|
|
190 |
<label for="nomatch_action">Action if no match found:</label> |
| 191 |
[% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_nomatch_action">Reset</a></span> |
| 192 |
[% ELSE %] |
| 193 |
<span class="label">Action if no match found:</span> |
| 194 |
[% IF ( nomatch_action == 'create_new' ) %] |
| 195 |
Add incoming record |
| 196 |
[% ELSIF ( nomatch_action == 'ignore' ) %] |
| 197 |
Ignore incoming record (its items may still be processed) |
| 198 |
[% ELSE %] |
| 199 |
[% nomatch_action %] |
| 200 |
[% END %] |
| 201 |
[% END %] |
| 202 |
</li> |
| 176 |
|
203 |
|
| 177 |
<li>[% IF ( can_commit ) %]<label for="item_action">Item processing:</label> |
204 |
<li> |
| 178 |
[% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_item_action">Reset</a></span>[% ELSE %]<span class="label">Item processing:</span>[% item_action %][% END %]</li> |
205 |
[% IF ( can_commit ) %] |
|
|
206 |
<label for="item_action">Item processing:</label> |
| 207 |
[% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_item_action">Reset</a></span> |
| 208 |
[% ELSE %] |
| 209 |
<span class="label">Item processing:</span> |
| 210 |
[% IF ( item_action == 'always_add' ) %] |
| 211 |
Always add items |
| 212 |
[% ELSIF ( item_action == 'add_only_for_matches' ) %] |
| 213 |
Add items only if matching bib was found |
| 214 |
[% ELSIF ( item_action == 'add_only_for_new' ) %] |
| 215 |
Add items only if no matching bib was found |
| 216 |
[% ELSIF ( item_action == 'ignore' ) %] |
| 217 |
Ignore items |
| 218 |
[% ELSE %] |
| 219 |
[% item_action %] |
| 220 |
[% END %] |
| 221 |
[% END %] |
| 222 |
</li> |
| 179 |
</ol> |
223 |
</ol> |
| 180 |
[% IF ( can_commit ) %]<fieldset class="action"><input type="submit" value="Apply different matching rules" class="button" /></fieldset></form>[% END %] |
224 |
[% IF ( can_commit ) %]<fieldset class="action"><input type="submit" value="Apply different matching rules" class="button" /></fieldset></form>[% END %] |
| 181 |
</fieldset> |
225 |
</fieldset> |
|
Lines 342-349
Page
Link Here
|
| 342 |
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
386 |
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
| 343 |
<td>[% record_lis.record_sequence %]</td> |
387 |
<td>[% record_lis.record_sequence %]</td> |
| 344 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% record_lis.import_record_id %]" rel="gb_page_center[600,500]">[% record_lis.citation %]</a></td> |
388 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% record_lis.import_record_id %]" rel="gb_page_center[600,500]">[% record_lis.citation %]</a></td> |
| 345 |
<td>[% record_lis.status %]</td> |
389 |
<td> |
| 346 |
<td>[% record_lis.overlay_status %]</td> |
390 |
[% IF ( record_lis.status == 'imported' ) %] |
|
|
391 |
Imported |
| 392 |
[% ELSIF ( record_lis.status == 'ignored' ) %] |
| 393 |
Ignored |
| 394 |
[% ELSIF ( record_lis.status == 'reverted' ) %] |
| 395 |
Reverted |
| 396 |
[% ELSE %] |
| 397 |
[% record_lis.status %] |
| 398 |
[% END %] |
| 399 |
</td> |
| 400 |
<td> |
| 401 |
[% IF ( record_lis.overlay_status == 'no_match' ) %] |
| 402 |
No match |
| 403 |
[% ELSIF ( record_lis.overlay_status == 'match_applied' ) %] |
| 404 |
Match applied |
| 405 |
[% ELSE %] |
| 406 |
[% record_lis.overlay_status %] |
| 407 |
[% END %] |
| 408 |
</td> |
| 347 |
<td>[% IF ( record_lis.final_match_id ) %] |
409 |
<td>[% IF ( record_lis.final_match_id ) %] |
| 348 |
[% PROCESS final_match_link record=record_lis %] |
410 |
[% PROCESS final_match_link record=record_lis %] |
| 349 |
[% END %] |
411 |
[% END %] |
| 350 |
- |
|
|