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 / +15 lines)
Lines 63-89 Link Here
63
        <div class="dialog message">The [% pref_CurbsidePickup_link | $raw | $KohaSpan %] preference is not enabled, do not forget to enable it to turn the feature on.</div>
63
        <div class="dialog message">The [% pref_CurbsidePickup_link | $raw | $KohaSpan %] preference is not enabled, do not forget to enable it to turn the feature on.</div>
64
    [% END %]
64
    [% END %]
65
    <form method="post" class="form">
65
    <form method="post" class="form">
66
        <div id="curbside_pickup_tabs" class="toptabs">
66
67
            <ul class="nav nav-tabs" role="tablist">
67
        [% WRAPPER tabs id= "curbside_pickup_tabs" %]
68
            [% WRAPPER tabs_nav %]
68
                [% FOREACH l IN libraries %]
69
                [% FOREACH l IN libraries %]
69
                    [% IF loop.first %]
70
                    [% IF loop.first %]
70
                    <li role="presentation" class="active">
71
                        [% SET bt_active = 1 %]
71
                    [% ELSE %]
72
                    [% ELSE %]
72
                    <li role="presentation">
73
                        [% SET bt_active = 0 %]
73
                    [% END %]
74
                    [% END %]
74
                        <a href="#conf-[% l.branchcode | uri %]" aria-controls="conf-[% l.branchcode | html %]" role="tab" data-toggle="tab">[% l.branchname | html %]</a>
75
                    [% WRAPPER tab_item tabname= "conf-${l.branchcode}" bt_active= bt_active %] <span>[% l.branchname | html %]</span> [% END %]
75
                    </li>
76
                [% END %]
76
                [% END %]
77
            </ul>
77
            [% END # /WRAPPER tabs_nav %]
78
78
79
            <div class="tab-content">
79
            [% WRAPPER tab_panels %]
80
                [% FOREACH l IN libraries %]
80
                [% FOREACH l IN libraries %]
81
                    [% SET branchcode = l.branchcode %]
81
                    [% SET branchcode = l.branchcode %]
82
                    [% IF loop.first %]
82
                    [% IF loop.first %]
83
                    <div id="conf-[% l.branchcode | html %]" role="tabpanel" class="tab-pane active">
83
                        [% SET bt_active = 1 %]
84
                    [% ELSE %]
84
                    [% ELSE %]
85
                    <div id="conf-[% l.branchcode | html %]" role="tabpanel" class="tab-pane">
85
                        [% SET bt_active = 0 %]
86
                    [% END %]
86
                    [% END %]
87
                    [% WRAPPER tab_panel tabname= "conf-${l.branchcode}" bt_active= bt_active %]
87
                        <fieldset class="rows" style="float: none;">
88
                        <fieldset class="rows" style="float: none;">
88
                            <ol>
89
                            <ol>
89
                                <li>
90
                                <li>
Lines 160-169 Link Here
160
161
161
                            </ol>
162
                            </ol>
162
                        </fieldset>
163
                        </fieldset>
163
                    </div>
164
                    [% END # /tab_panel %]
164
                [% END %]
165
                [% END #FOREACH l %]
165
            </div>
166
            [% END # /WRAPPER tab_panels %]
166
        </div>
167
        [% END # /WRAPPER tabs %]
167
168
168
        <input type="hidden" name="op" value="save" />
169
        <input type="hidden" name="op" value="save" />
169
170
170
- 

Return to bug 35838