Sha256: 423ea6794b25282f13e31e2ed3d234734fc1af6dd4fea0d9767f6d7833eff65e

Contents?: true

Size: 807 Bytes

Versions: 5

Compression:

Stored size: 807 Bytes

Contents

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

.outset
  = render_region :top
  %table.index#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_node @homepage
      - else
        %tr
          %td.empty{:colspan => admin.page.index.node.length}= t('no_pages')
  = render_region :bottom

- unless @homepage
  #actions
    %ul
      %li= link_to image('plus') + " " + t("new_homepage"), new_admin_page_path, :class => 'action_button'

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
radiant-1.0.0.rc4 app/views/admin/pages/index.html.haml
radiant-1.0.0.rc3 app/views/admin/pages/index.html.haml
kajam-1.0.3.rc2 app/views/admin/pages/index.html.haml
radiant-1.0.0.rc2 app/views/admin/pages/index.html.haml
radiant-1.0.0.rc1 app/views/admin/pages/index.html.haml