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