Sha256: 66c2e3cb19fe82f11b1d1879407e4f086b2f71850ba0226a41684917bd017adc

Contents?: true

Size: 444 Bytes

Versions: 18

Compression:

Stored size: 444 Bytes

Contents

- title t('.title')

- content_for :submenu do
  = render 'locomotive/shared/menu/contents'

- content_for :actions do
  = render 'locomotive/shared/actions/contents'

- if can? :create, Locomotive::Page
  - content_for :buttons do
    = local_action_button :new, new_page_path, icon: 'icon-plus', id: 'newpage'

%p!= t('.help')

- if @pages.empty?
  %p.no-items!= t('.no_items', url: new_page_path)
- else
  %ul#pages-list
    = render @pages

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
locomotive_cms-2.5.7 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.6 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.6.rc2 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.6.rc1 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.5 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.4 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.3 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.2 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.1 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.0 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.0.rc3 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.0.rc2 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.5.0.rc1 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.4.1 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.4.0 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.3.1 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.3.0 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.2.3 app/views/locomotive/pages/index.html.haml