Lines 600-606
Link Here
|
600 |
[% END %] |
600 |
[% END %] |
601 |
[% NEXT IF has_prefs_count < needs_prefs.size || has_perms_count < needs_perms.size || has_all_count < needs_all.size %] |
601 |
[% NEXT IF has_prefs_count < needs_prefs.size || has_perms_count < needs_perms.size || has_all_count < needs_all.size %] |
602 |
[% IF action.method == 'migrate' %] |
602 |
[% IF action.method == 'migrate' %] |
603 |
[% IF backends.size > 2 %] |
603 |
[% IF Koha.Preference('AutoILLBackendPriority') && backends.size > 1 %] |
|
|
604 |
<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"> |
605 |
<span class="fa [% action.ui_method_icon | html %]"></span> |
606 |
[% action.ui_method_name | html %] |
607 |
</a> |
608 |
[% ELSIF backends.size > 2 %] |
604 |
<div class="dropdown btn-group"> |
609 |
<div class="dropdown btn-group"> |
605 |
<button class="btn btn-default dropdown-toggle" type="button" id="ill-migrate-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
610 |
<button class="btn btn-default dropdown-toggle" type="button" id="ill-migrate-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
606 |
<i class="fa [% action.ui_method_icon | html %]"></i> [% action.ui_method_name | html %] |
611 |
<i class="fa [% action.ui_method_icon | html %]"></i> [% action.ui_method_name | html %] |
Lines 968-973
Link Here
|
968 |
<p id="autoillbackend-message" class="text-info"></p> |
973 |
<p id="autoillbackend-message" class="text-info"></p> |
969 |
</fieldset> |
974 |
</fieldset> |
970 |
<fieldset class="action"> |
975 |
<fieldset class="action"> |
|
|
976 |
[% IF auto_migrate %] |
977 |
<a id="confirm-auto-migrate" data-illrequest_id="[% request.illrequest_id %]" class="btn btn-primary disabled">Confirm</a> |
978 |
<a class="cancel" href="ill-requests.pl">Cancel</a> |
979 |
[% ELSE %] |
971 |
[% FOREACH key IN whole.keys %] |
980 |
[% FOREACH key IN whole.keys %] |
972 |
[% value = whole.$key %] |
981 |
[% value = whole.$key %] |
973 |
[% IF key != 'method' && key != 'custom_key' && key != 'custom_value' %] |
982 |
[% IF key != 'method' && key != 'custom_key' && key != 'custom_value' %] |
Lines 987-992
Link Here
|
987 |
<input type="hidden" name="confirm_auto_submitted" value="1"> |
996 |
<input type="hidden" name="confirm_auto_submitted" value="1"> |
988 |
<input type="submit" class="btn btn-primary" value="Confirm" /> |
997 |
<input type="submit" class="btn btn-primary" value="Confirm" /> |
989 |
<a class="cancel" href="ill-requests.pl">Cancel</a> |
998 |
<a class="cancel" href="ill-requests.pl">Cancel</a> |
|
|
999 |
[% END %] |
990 |
</fieldset> |
1000 |
</fieldset> |
991 |
</form> |
1001 |
</form> |
992 |
</div> |
1002 |
</div> |