Sha256: 62d2305a319ce9d3d92e4c2ae262f937d1870ab22f855fa69e7866fd18b26746

Contents?: true

Size: 942 Bytes

Versions: 4

Compression:

Stored size: 942 Bytes

Contents

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

.outset
  = render_region :top
  = render 'search_form', title: nil, show_view_all_button: false
  %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 @homepage
        = render_nodes(@homepage, 0).html_safe
      - else
        %tr.sortable
          %td.empty{ :colspan => admin.page.index.node.length }= t('no_pages')
  = render_region :bottom

- unless @homepage
  #actions
    %ul
      %li
        = link_to admin_pages_path, :class => 'action_button' do
          %i.fas.fa-plus-circle
          = t("new_homepage")

Version data entries

4 entries across 4 versions & 1 rubygems

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