Sha256: 56272f05ec2f2027c398058fce97a9ada450d15fa965b1d9831bf2850bd1628a

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

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

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

  %h2.products= t('shoppe.localisations.localisations_of', name: @product_category.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_category_localisation_path(@product_category, localisation)
            %td= localisation.permalink

Version data entries

6 entries across 6 versions & 2 rubygems

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