negos_app/app/views/public/shared/_sub_menu.html.haml
2018-05-15 17:25:48 +02:00

23 lines
788 B
Plaintext

-if @needs or @products or @product
.sub_menu_boutique
.center
-if current_customer.account_validated?
=link_to "Besoins", public_needs_path, :class => ("active" if @needs)
-if session[:reseaux_id].to_i > 0
=link_to "Offres", public_reseaux_products_path(:reseaux_id => session[:reseaux_id].to_i), :class => ("active" if @products or @product)
.clear
-if @reseaux_chief_layout
.sub_menu_boutique
.center
=link_to "Vue de mon réseau", public_reseaux_path(@reseaux) #, :class => ("active" if @needs)
=link_to "Membres", public_reseaux_customers_path(@reseaux)
=#link_to "Besoins", public_reseaux_path(@reseaux)
=link_to "Commandes", public_reseaux_product_orders_path(@reseaux)
.clear