View | Details | Raw Unified | Return to bug 41249
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc (-11 / +14 lines)
Lines 26-41 Link Here
26
        [% END %]
26
        [% END %]
27
        [% IF have_batch.size > 0 && metadata_enrichment_services %]
27
        [% IF have_batch.size > 0 && metadata_enrichment_services %]
28
            <div id="ill-batch">
28
            <div id="ill-batch">
29
                <div class="dropdown btn-group">
29
                [% IF Koha.Preference('AutoILLBackendPriority') %]
30
                    <button class="btn btn-default dropdown-toggle" type="button" id="ill-batch-backend-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
30
                    <a class="btn btn-default" href="#" role="button" onclick="window.openBatchModal(null, 'Standard')"> <i class="fa fa-plus"></i> New ILL requests batch </a>
31
                        <i class="fa fa-plus"></i> New ILL requests batch
31
                [% ELSE %]
32
                    </button>
32
                    <div class="dropdown btn-group">
33
                    <ul class="dropdown-menu" aria-labelledby="ill-batch-backend-dropdown">
33
                        <button class="btn btn-default dropdown-toggle" type="button" id="ill-batch-backend-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
34
                        [% FOREACH backend IN have_batch %]
34
                            <i class="fa fa-plus"></i> New ILL requests batch
35
                            <li><a class="dropdown-item" href="#" role="button" onclick="window.openBatchModal(null, '[% backend | html %]')">[% backend | html %]</a></li>
35
                        </button>
36
                        [% END %]
36
                        <ul class="dropdown-menu" aria-labelledby="ill-batch-backend-dropdown">
37
                    </ul>
37
                            [% FOREACH backend IN have_batch %]
38
                </div>
38
                                <li><a class="dropdown-item" href="#" role="button" onclick="window.openBatchModal(null, '[% backend | html %]')">[% backend | html %]</a></li>
39
                            [% END %]
40
                        </ul>
41
                    </div>
42
                [% END %]
39
                <a class="btn btn-default" type="button" href="/cgi-bin/koha/ill/ill-requests.pl?method=batch_list"> <i class="fa fa-tasks"></i> Batch requests </a>
43
                <a class="btn btn-default" type="button" href="/cgi-bin/koha/ill/ill-requests.pl?method=batch_list"> <i class="fa fa-tasks"></i> Batch requests </a>
40
            </div>
44
            </div>
41
        [% END %]
45
        [% END %]
42
- 

Return to bug 41249