Lines 607-613
Link Here
|
607 |
[% END %] |
607 |
[% END %] |
608 |
[% NEXT IF has_prefs_count < needs_prefs.size || has_perms_count < needs_perms.size || has_all_count < needs_all.size %] |
608 |
[% NEXT IF has_prefs_count < needs_prefs.size || has_perms_count < needs_perms.size || has_all_count < needs_all.size %] |
609 |
[% IF action.method == 'migrate' %] |
609 |
[% IF action.method == 'migrate' %] |
610 |
[% IF backends.size > 2 %] |
610 |
[% IF Koha.Preference('AutoILLBackendPriority') && backends.size > 1 %] |
|
|
611 |
<a title="[% action.ui_method_name | html %]" id="ill-toolbar-btn-[% action.id | lower | html %]" class="btn btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?op=[% action.method | uri %]&illrequest_id=[% request.illrequest_id | uri %]&auto_migrate=1"> |
612 |
<span class="fa [% action.ui_method_icon | html %]"></span> |
613 |
[% action.ui_method_name | html %] |
614 |
</a> |
615 |
[% ELSIF backends.size > 2 %] |
611 |
<div class="dropdown btn-group"> |
616 |
<div class="dropdown btn-group"> |
612 |
<button class="btn btn-default dropdown-toggle" type="button" id="ill-migrate-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
617 |
<button class="btn btn-default dropdown-toggle" type="button" id="ill-migrate-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
613 |
<i class="fa [% action.ui_method_icon | html %]"></i> [% action.ui_method_name | html %] |
618 |
<i class="fa [% action.ui_method_icon | html %]"></i> [% action.ui_method_name | html %] |
Lines 1040-1045
Link Here
|
1040 |
<p id="autoillbackend-message" class="text-info"></p> |
1045 |
<p id="autoillbackend-message" class="text-info"></p> |
1041 |
</fieldset> |
1046 |
</fieldset> |
1042 |
<fieldset class="action"> |
1047 |
<fieldset class="action"> |
|
|
1048 |
[% IF auto_migrate %] |
1049 |
<a id="confirm-auto-migrate" data-illrequest_id="[% request.illrequest_id %]" class="btn btn-primary disabled">Confirm</a> |
1050 |
<a class="cancel" href="ill-requests.pl">Cancel</a> |
1051 |
[% ELSE %] |
1043 |
[% FOREACH key IN whole.keys %] |
1052 |
[% FOREACH key IN whole.keys %] |
1044 |
[% value = whole.$key %] |
1053 |
[% value = whole.$key %] |
1045 |
[% IF key != 'method' && key != 'custom_key' && key != 'custom_value' %] |
1054 |
[% IF key != 'method' && key != 'custom_key' && key != 'custom_value' %] |
Lines 1059-1064
Link Here
|
1059 |
<input type="hidden" name="confirm_auto_submitted" value="1"> |
1068 |
<input type="hidden" name="confirm_auto_submitted" value="1"> |
1060 |
<input type="submit" class="btn btn-primary" value="Confirm" /> |
1069 |
<input type="submit" class="btn btn-primary" value="Confirm" /> |
1061 |
<a class="cancel" href="ill-requests.pl">Cancel</a> |
1070 |
<a class="cancel" href="ill-requests.pl">Cancel</a> |
|
|
1071 |
[% END %] |
1062 |
</fieldset> |
1072 |
</fieldset> |
1063 |
</form> |
1073 |
</form> |
1064 |
</div> |
1074 |
</div> |