Sha256: a020f1de1dc35a2627fddd108ec02b3b0edb84fb4e05cbacb32c88aed0ac77ee

Contents?: true

Size: 886 Bytes

Versions: 4

Compression:

Stored size: 886 Bytes

Contents

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

      %ul
        - for item in Tienda::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')} #{Tienda.settings.store_name}".html_safe, '/'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tienda-1.1.2 app/views/layouts/tienda/application.html.haml
tienda-1.1.1 app/views/layouts/tienda/application.html.haml
tienda-1.1.0 app/views/layouts/tienda/application.html.haml
tienda-1.0.0 app/views/layouts/tienda/application.html.haml