Sha256: c4bbee89b1e4093858bf4988fbe899c076072969cfe82c642fc3a4080aee120e
Contents?: true
Size: 1.54 KB
Versions: 4
Compression:
Stored size: 1.54 KB
Contents
<!-- Show cart in navbar right on desktop: see nav.erb for mobile --> <!-- TODO show item count in cart --> <li class='navbar-account_item navbar-account_item-cart' id='mini-cart' data-turbolinks-temporary> <%= link_to cart_url, class: "nav-icon-stack hidden-grid-float-breakpoint" do %> <i class='fa fa-shopping-cart'></i> <span class="nav-icon-label">Cart</span> <% end %> </li> <% if defined?(current_user) && current_user.present? %> <li class='navbar-account_item-inbox navbar-account_item'> <%= link_to library_url, class: "nav-icon-stack hidden-grid-float-breakpoint" do %> <i class='fa fa-inbox'></i> <span class="nav-icon-label">Inbox</span> <% end %> </li> <li class='dropdown navbar-account_item'> <%= link_to nil, class: 'nav-icon-stack dropdown-toggle dropdown-toggle-account', :data => { :toggle => 'dropdown' } do %> <i class='fa fa-user hidden-grid-float-breakpoint'></i> <span class="nav-icon-label">Account</span> <i class='fa fa-chevron-down visible-grid-float-breakpoint'></i> <% end %> <div class='dropdown-menu dropdown-menu-nav dropdown-menu-account color_block-gray-700'> <%= render partial: "forever_style_guide/sections/components/navigation/nav_account_dropdown_menu" %> </div> </li> <% else %> <li class='dropdown navbar-account_item hidden-grid-float-breakpoint'> <%= link_to login_url, class: 'nav-icon-stack' do %> <i class='fa fa-user hidden-grid-float-breakpoint'></i> <span class='nav-icon-label'>Log In</span> <% end %> </li> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems