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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt (-15 / +14 lines)
Lines 65-91 Link Here
65
    [% END %]
65
    [% END %]
66
    <form method="post" class="form">
66
    <form method="post" class="form">
67
        [% INCLUDE 'csrf-token.inc' %]
67
        [% INCLUDE 'csrf-token.inc' %]
68
        <div id="curbside_pickup_tabs" class="toptabs">
68
        [% WRAPPER tabs id= "curbside_pickup_tabs" %]
69
            <ul class="nav nav-tabs" role="tablist">
69
            [% WRAPPER tabs_nav %]
70
                [% FOREACH l IN libraries %]
70
                [% FOREACH l IN libraries %]
71
                    [% IF loop.first %]
71
                    [% IF loop.first %]
72
                    <li role="presentation" class="active">
72
                        [% SET bt_active = 1 %]
73
                    [% ELSE %]
73
                    [% ELSE %]
74
                    <li role="presentation">
74
                        [% SET bt_active = 0 %]
75
                    [% END %]
75
                    [% END %]
76
                        <a href="#conf-[% l.branchcode | uri %]" aria-controls="conf-[% l.branchcode | html %]" role="tab" data-bs-toggle="tab">[% l.branchname | html %]</a>
76
                    [% WRAPPER tab_item tabname= "conf-${l.branchcode}" bt_active= bt_active %] <span>[% l.branchname | html %]</span> [% END %]
77
                    </li>
78
                [% END %]
77
                [% END %]
79
            </ul>
78
            [% END # /WRAPPER tabs_nav %]
80
79
81
            <div class="tab-content">
80
            [% WRAPPER tab_panels %]
82
                [% FOREACH l IN libraries %]
81
                [% FOREACH l IN libraries %]
83
                    [% SET branchcode = l.branchcode %]
82
                    [% SET branchcode = l.branchcode %]
84
                    [% IF loop.first %]
83
                    [% IF loop.first %]
85
                    <div id="conf-[% l.branchcode | html %]" role="tabpanel" class="tab-pane active">
84
                        [% SET bt_active = 1 %]
86
                    [% ELSE %]
85
                    [% ELSE %]
87
                    <div id="conf-[% l.branchcode | html %]" role="tabpanel" class="tab-pane">
86
                        [% SET bt_active = 0 %]
88
                    [% END %]
87
                    [% END %]
88
                    [% WRAPPER tab_panel tabname= "conf-${l.branchcode}" bt_active= bt_active %]
89
                        <fieldset class="rows" style="float: none;">
89
                        <fieldset class="rows" style="float: none;">
90
                            <ol>
90
                            <ol>
91
                                <li>
91
                                <li>
Lines 162-171 Link Here
162
162
163
                            </ol>
163
                            </ol>
164
                        </fieldset>
164
                        </fieldset>
165
                    </div>
165
                    [% END # /tab_panel %]
166
                [% END %]
166
                [% END #FOREACH l %]
167
            </div>
167
            [% END # /WRAPPER tab_panels %]
168
        </div>
168
        [% END # /WRAPPER tabs %]
169
169
170
        <input type="hidden" name="op" value="cud-save" />
170
        <input type="hidden" name="op" value="cud-save" />
171
171
172
- 

Return to bug 35838