Sha256: 4737467da7bb94ac7aa072dae48c4813cf398794a3d9c5d82dbd73f1146b9716

Contents?: true

Size: 811 Bytes

Versions: 4

Compression:

Stored size: 811 Bytes

Contents

- @page_title = t('pages') + ' - ' + default_page_title

.outset
  = render_region :top
  = render 'search_form', title: @title, show_view_all_button: true
  %table.index.tablesaw#pages{ :summary => t('page_hierarchy') }
    %thead
      %tr
        - render_region :sitemap_head do |sitemap_head|
          - sitemap_head.title_column_header do
            %th.name= t('page')
          - sitemap_head.status_column_header do
            %th.status= t('status')
          - sitemap_head.actions_column_header do
            %th.actions= t('modify')
    %tbody
      - if @pages.present?
        - @pages.each do |page|
          = render_search_node(page).html_safe
      - else
        %tr.sortable
          %td.empty{ :colspan => admin.page.index.node.length }= t('no_pages_found')

= render_region :bottom

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trusty-cms-7.0.9.1 app/views/admin/pages/search.html.haml
trusty-cms-7.0.11 app/views/admin/pages/search.html.haml
trusty-cms-7.0.10 app/views/admin/pages/search.html.haml
trusty-cms-7.0.9 app/views/admin/pages/search.html.haml