Sha256: ed4d9888d586ae6a6563ce6aa267e4f335472ef097abe2156ce5605156a1c2a8

Contents?: true

Size: 1.29 KB

Versions: 82

Compression:

Stored size: 1.29 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 edit_admin_layout_url(layout) do
                    %i.far.fa-sticky-note
                    = layout.name
              - tbody.actions_cell do
                %td.actions
                  = link_to remove_admin_layout_url(layout), :class => 'action' do
                    %i.fas.fa-minus-circle
                    =t('remove')
      - 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 new_admin_layout_url, class: 'action_button' do
            %i.fas.fa-plus-circle
            =t('new_layout')

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
trusty-cms-6.0.3 app/views/admin/layouts/index.html.haml
trusty-cms-6.0.2 app/views/admin/layouts/index.html.haml
trusty-cms-6.0.1 app/views/admin/layouts/index.html.haml
trusty-cms-5.6.1 app/views/admin/layouts/index.html.haml
trusty-cms-6.0.0 app/views/admin/layouts/index.html.haml
trusty-cms-5.6.0 app/views/admin/layouts/index.html.haml
trusty-cms-5.5.9 app/views/admin/layouts/index.html.haml
trusty-cms-5.5.8 app/views/admin/layouts/index.html.haml
trusty-cms-5.5.7 app/views/admin/layouts/index.html.haml
trusty-cms-5.5.6 app/views/admin/layouts/index.html.haml
trusty-cms-5.5.5.1 app/views/admin/layouts/index.html.haml
trusty-cms-5.5.1 app/views/admin/layouts/index.html.haml
trusty-cms-5.5 app/views/admin/layouts/index.html.haml
trusty-cms-5.4.4 app/views/admin/layouts/index.html.haml
trusty-cms-5.4.3 app/views/admin/layouts/index.html.haml
trusty-cms-5.4.2 app/views/admin/layouts/index.html.haml
trusty-cms-5.4.1 app/views/admin/layouts/index.html.haml
trusty-cms-5.4.0 app/views/admin/layouts/index.html.haml
trusty-cms-5.3.9 app/views/admin/layouts/index.html.haml
trusty-cms-5.3.8 app/views/admin/layouts/index.html.haml