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

Return to bug 21174