Sha256: f5b42b7c15960673e1ca1c9acbe9cc9c7d7698160e7f68207e09e601004a9780
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
%header %h1 STORE NAME %menu %ul %li = link_to gemgento.cart_url, class: "#{'active' if params[:controller] == 'gemgento/cart'}" do SHOPPING BAG #{current_quote.item_count.to_i} - if current_user %li MY ACCOUNT %li = link_to "Abmelden", destroy_user_session_path, :method => :delete - else %li = link_to "Anmelden", new_user_session_path %nav %ul %li= link_to 'ABOUT', gemgento.about_url, class: "#{'active' if params[:action] == 'about'}" %li= link_to 'SHOP', gemgento.shop_url, class: "#{'active' if params[:controller] == 'gemgento/categories'}" - if @current_category %div %span SORT BY: %span LOW TO HIGH %span= " | " %span HIGH TO LOW %nav %ul - Gemgento::Category.top_level.each do |parent| %li = link_to parent.name, "/shop/#{parent.url_key}", class: "#{'active' if nav_category_is_active(parent)}" - unless parent.children.empty? %ul - parent.children.each do |child| %li= link_to child.name, "/shop/#{parent.url_key}/#{child.url_key}", class: "#{'active' if nav_category_is_active(child)}"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemgento-2.8.0 | app/views/layouts/_header.html.haml |