|
Lines 489-495
Link Here
|
| 489 |
Edit request |
489 |
Edit request |
| 490 |
</a> |
490 |
</a> |
| 491 |
[% FOREACH action IN actions %] |
491 |
[% FOREACH action IN actions %] |
| 492 |
[% IF action.method != 0 %] |
492 |
[% IF action.method == 'migrate' %] |
|
|
493 |
[% IF backends.size > 2 %] |
| 494 |
<div class="dropdown btn-group"> |
| 495 |
<button class="btn btn-sm btn-default dropdown-toggle" type="button" id="ill-migrate-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
| 496 |
<i class="fa [% action.ui_method_icon %]"></i> [% action.ui_method_name %] <span class="caret"></span> |
| 497 |
</button> |
| 498 |
<ul class="dropdown-menu" aria-labelledby="ill-migrate-dropdown"> |
| 499 |
[% FOREACH backend IN backends %] |
| 500 |
[% IF backend != request.backend %] |
| 501 |
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?method=[% action.method %]&illrequest_id=[% request.illrequest_id %]&backend=[% backend %]">[% backend %]</a></li> |
| 502 |
[% END %] |
| 503 |
[% END %] |
| 504 |
</ul> |
| 505 |
</div> |
| 506 |
[% ELSIF backends.size == 2 %] |
| 507 |
[% FOREACH backend IN backends %] |
| 508 |
[% IF backend != request.backend %] |
| 509 |
<a title="[% action.ui_method_name %]" id="ill-toolbar-btn-[% action.id | lower %]" class="btn btn-sm btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=[% action.method %]&illrequest_id=[% request.illrequest_id %]"> |
| 510 |
<span class="fa [% action.ui_method_icon %]"></span> |
| 511 |
[% action.ui_method_name %] |
| 512 |
</a> |
| 513 |
[% END %] |
| 514 |
[% END %] |
| 515 |
[% END %] |
| 516 |
[% ELSIF action.method != 0 %] |
| 493 |
<a title="[% action.ui_method_name %]" id="ill-toolbar-btn-[% action.id | lower %]" class="btn btn-sm btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=[% action.method %]&illrequest_id=[% request.illrequest_id %]"> |
517 |
<a title="[% action.ui_method_name %]" id="ill-toolbar-btn-[% action.id | lower %]" class="btn btn-sm btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=[% action.method %]&illrequest_id=[% request.illrequest_id %]"> |
| 494 |
<span class="fa [% action.ui_method_icon %]"></span> |
518 |
<span class="fa [% action.ui_method_icon %]"></span> |
| 495 |
[% action.ui_method_name %] |
519 |
[% action.ui_method_name %] |
| 496 |
- |
|
|