Sha256: c9596ab53f2889bb14f722cc768fc31d228a9df392632938fd31e0e840a60a35

Contents?: true

Size: 886 Bytes

Versions: 11

Compression:

Stored size: 886 Bytes

Contents

!!!
%html
  %head
    %title #{@page_title} - Shoppe
    = stylesheet_link_tag 'shoppe/application'
    = javascript_include_tag 'shoppe/application'
    = csrf_meta_tags
    :javascript
      window.Shoppe = {}
      window.Shoppe.currencyUnit = "#{h Shoppe.settings.currency_unit}";
  %body
    %nav.sidebar
      %header.logo
        %h1= link_to "Shoppe", root_path
        %p v#{Shoppe::VERSION}
      %p.logged= t('.logged_in_as', user_name: current_user.full_name)

      %ul
        - for item in Shoppe::NavigationManager.find(:admin_primary).items
          %li= navigation_manager_link item

        %li= link_to t('.logout'), [:logout], :method => :delete

    %header.main
      = yield :header

    #content
      = display_flash
      %section.main
        = yield

    %footer
      %p.store= link_to "← #{t('.goto')} #{Shoppe.settings.store_name}".html_safe, '/'

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
shoppe-1.1.2 app/views/layouts/shoppe/application.html.haml
shoppe-1.1.1 app/views/layouts/shoppe/application.html.haml
shoppe-1.1.0 app/views/layouts/shoppe/application.html.haml
shoppe-1.0.9 app/views/layouts/shoppe/application.html.haml
shoppe-1.0.8 app/views/layouts/shoppe/application.html.haml
kylekthompson-shoppe-1.0.7 app/views/layouts/shoppe/application.html.haml
shoppe-1.0.7 app/views/layouts/shoppe/application.html.haml
shoppe-1.0.6 app/views/layouts/shoppe/application.html.haml
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/app/views/layouts/shoppe/application.html.haml
shoppe-1.0.5 app/views/layouts/shoppe/application.html.haml
shoppe-1.0.3 app/views/layouts/shoppe/application.html.haml