Sha256: 20a2f848bb0731f48f890789b2653733ace12efe763ee6e33dca46f319042f0b

Contents?: true

Size: 1.19 KB

Versions: 23

Compression:

Stored size: 1.19 KB

Contents

- @page_title = 'layouts -  ' + default_page_title

.outset
  = render_region :top
  %table.index#layouts
    %thead
      %tr
        - render_region :thead do |thead|
          - thead.title_header do
            %th.name
              = t('layout')
          - thead.actions_header do
            %th.actions{:style=>"width:9em"}
              = t('modify')
    %tbody
      - if @layouts.any?
        - @layouts.each do |layout|
          %tr[layout]
            - render_region :tbody, :locals => {:layout => layout} do |tbody|
              - tbody.title_cell do
                %td.name
                  = link_to image('layout', :alt => '') + ' ' + layout.name, edit_admin_layout_url(layout)
              - tbody.actions_cell do
                %td.actions
                  = link_to image('minus') + ' ' + t('remove'), remove_admin_layout_url(layout), :class => "action"
      - else
        %tr
          %td.empty{:colspan => admin.layout.index.tbody.length}= t('no_layouts')

- render_region :bottom do |bottom|
  - bottom.new_button do
    #actions
      = pagination_for(@layouts)
      %ul
        %li= link_to image('plus') + " " + t('new_layout'), new_admin_layout_url, :class => 'action_button'

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
trusty-cms-4.0.2 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.7 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.6 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.5 app/views/admin/layouts/index.html.haml
trusty-cms-4.0.1 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.4 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.3 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.2 app/views/admin/layouts/index.html.haml
trusty-cms-4.0.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.1 app/views/admin/layouts/index.html.haml
trusty-cms-3.9.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.8.4 app/views/admin/layouts/index.html.haml
trusty-cms-3.8.3 app/views/admin/layouts/index.html.haml
trusty-cms-3.8.2 app/views/admin/layouts/index.html.haml
trusty-cms-3.8.1 app/views/admin/layouts/index.html.haml
trusty-cms-3.8.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.7.1 app/views/admin/layouts/index.html.haml
trusty-cms-3.7.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.6.2 app/views/admin/layouts/index.html.haml
trusty-cms-3.6.1 app/views/admin/layouts/index.html.haml