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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-11 / +18 lines)
Lines 20-35 Link Here
20
                    [% END %]
20
                    [% END %]
21
                    <ul class="nav">
21
                    <ul class="nav">
22
                        [% IF ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
22
                        [% IF ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
23
                            <li class="dropdown">
23
                            [% IF ( Koha.Preference('EnableOneClickToOpenCartPopup') == 1 ) %]
24
                                <a href="#" title="Collect items you are interested in" class="dropdown-toggle" id="cartmenulink" data-toggle="dropdown" role="button">
24
                                <li>
25
                                    <i id="carticon" class="icon-shopping-cart icon-white"></i> <span class="cartlabel">Cart</span> <span id="basketcount"></span> <b class="caret"></b>
25
                                    <a href="#" title="Collect items you are interested in" id="cartmenuitem" role="button">
26
                                </a>
26
                                        <i id="carticon" class="icon-shopping-cart icon-white"></i> <span class="cartlabel">Cart</span> <span id="basketcount"></span>
27
                                <ul aria-labelledby="cartmenulink" role="menu" class="dropdown-menu">
27
                                    </a>
28
                                    <li role="presentation">
28
                                </li>
29
                                        <a href="#" id="cartmenuitem" class="cart-message" tabindex="-1" role="menuitem">Your cart is empty.</a>
29
                            [% ELSE %]
30
                                    </li>
30
                                <li class="dropdown">
31
                                </ul>
31
                                    <a href="#" title="Collect items you are interested in" class="dropdown-toggle" id="cartmenulink" data-toggle="dropdown" role="button">
32
                            </li>
32
                                        <i id="carticon" class="icon-shopping-cart icon-white"></i> <span class="cartlabel">Cart</span> <span id="basketcount"></span> <b class="caret"></b>
33
                                    </a>
34
                                    <ul aria-labelledby="cartmenulink" role="menu" class="dropdown-menu">
35
                                        <li role="presentation">
36
                                            <a href="#" id="cartmenuitem" class="cart-message" tabindex="-1" role="menuitem">Your cart is empty.</a>
37
                                        </li>
38
                                    </ul>
39
                                </li>
40
                            [% END %]
33
                        [% END %]
41
                        [% END %]
34
                        [% IF ( Koha.Preference( 'virtualshelves' ) == 1 ) && ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
42
                        [% IF ( Koha.Preference( 'virtualshelves' ) == 1 ) && ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
35
                            <li class="divider-vertical"></li>
43
                            <li class="divider-vertical"></li>
36
- 

Return to bug 21174