Sha256: ed9d734c6589c2573f6c427f39ff0a69c7234cec06549b491cffaba7cdef5e53

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

#customer-profile
  .customer-actions
    %p
      = pretty_customer_name( )
       
      - if refinery_user_signed_in?
        - unless current_refinery_user.orders.empty?
          = link_to( "my orders".html_safe, refinery.orders_orders_path, :title => "view your orders" )
           
        - if ::Refinery::Orders::Order.any_digidownloads?(  current_refinery_user.id  )
          = link_to( "my downloads".html_safe, refinery.products_digidownloads_path( ), :title => "access your digital downloads" )
           
        = link_to( "profile", refinery.edit_customers_customer_path( current_refinery_user ), :title => "update your profile information" )
         
        = link_to( "sign out", refinery.destroy_refinery_user_session_path, :title => "switch customer profile" )

      -else
        = link_to( "sign up", refinery.new_customers_customer_path, :title => "create a new customer profile" )
         
        = link_to( "sign in", refinery.new_refinery_user_session_path, :title => "sign into your customer profile" )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-stores-0.1.0 app/views/refinery/shared/_customer_head.html.haml