Sha256: 5f12afed373c56bde7a16c1480789a927a3f84cd3a1dcc4812c0fb974238e0ab

Contents?: true

Size: 1.41 KB

Versions: 16

Compression:

Stored size: 1.41 KB

Contents

<!-- Show cart in navbar right on desktop: see nav.erb for mobile  -->
<li class='navbar-account_item navbar-account_item-cart hidden-grid-float-breakpoint'>
  <%= render partial: "forever_style_guide/sections/components/navigation/nav_cart_icon" %>
</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

16 entries across 16 versions & 1 rubygems

Version Path
forever_style_guide-3.0.19 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.18 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.17 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.16 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.15 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.14 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.13 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.12 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.11 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.10 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.9 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.8 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.7 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.6 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.5 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
forever_style_guide-3.0.4 app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb