Sha256: 9c25a0ec6fd4f727c6a613fb9bab93a15825c05c1e631b8c5ef126ca78e52f38

Contents?: true

Size: 1.19 KB

Versions: 111

Compression:

Stored size: 1.19 KB

Contents

- @page_title = t('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

111 entries across 111 versions & 2 rubygems

Version Path
trusty-cms-3.5.3 app/views/admin/layouts/index.html.haml
trusty-cms-3.5.2 app/views/admin/layouts/index.html.haml
trusty-cms-3.5.1 app/views/admin/layouts/index.html.haml
trusty-cms-3.5.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.4.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.3.7 app/views/admin/layouts/index.html.haml
trusty-cms-3.3.6 app/views/admin/layouts/index.html.haml
trusty-cms-3.3.5 app/views/admin/layouts/index.html.haml
trusty-cms-3.3.3 app/views/admin/layouts/index.html.haml
trusty-cms-3.3.2 app/views/admin/layouts/index.html.haml
trusty-cms-3.3.1 app/views/admin/layouts/index.html.haml
trusty-cms-3.2.1 app/views/admin/layouts/index.html.haml
trusty-cms-3.3.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.2.0 app/views/admin/layouts/index.html.haml
trusty-cms-3.1.11 app/views/admin/layouts/index.html.haml
trusty-cms-3.1.10 app/views/admin/layouts/index.html.haml
trusty-cms-3.1.9 app/views/admin/layouts/index.html.haml
trusty-cms-3.1.8 app/views/admin/layouts/index.html.haml
trusty-cms-3.1.7 app/views/admin/layouts/index.html.haml
trusty-cms-3.1.6 app/views/admin/layouts/index.html.haml