Sha256: 5217b8753f11d70b250bb27544ea2e6ca7ebf1cf8ab67049fe66fc4832adda25

Contents?: true

Size: 1008 Bytes

Versions: 6

Compression:

Stored size: 1008 Bytes

Contents

- @page_title = "#{t('shoppe.localisations.localisations')} - #{@product.name}"

= content_for :header do
  %p.buttons
    = link_to t('shoppe.localisations.back'), [:edit, @product], :class => 'button'
    = link_to t('shoppe.localisations.new_localisation'), [:new, @product, :localisation], :class => 'button green'

  %h2.products= t('shoppe.localisations.localisations_of', name: @product.name)

.table
  %table.data
    %thead
      %tr
        %th{:width => '20%'}= t('shoppe.localisations.language')
        %th{:width => '50%'}= t('shoppe.products.name')
        %th{:width => '15%'}= t('shoppe.products.permalink')
    %tbody
      - if @localisations.empty?
        %tr.empty
          %td{:colspan => 4}= t('shoppe.localisations.no_localisations')
      - else
        - for localisation in @localisations
          %tr
            %td= localisation.locale
            %td= link_to localisation.name, edit_product_localisation_path(@product, localisation)
            %td= localisation.permalink

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/product_localisations/index.html.haml
shoppe-1.1.1 app/views/shoppe/product_localisations/index.html.haml
shoppe-1.1.0 app/views/shoppe/product_localisations/index.html.haml
shoppe-1.0.9 app/views/shoppe/product_localisations/index.html.haml
shoppe-1.0.8 app/views/shoppe/product_localisations/index.html.haml
kylekthompson-shoppe-1.0.7 app/views/shoppe/product_localisations/index.html.haml