engine/app/views/admin/pages/index.html.haml

22 lines
444 B
Plaintext
Raw Normal View History

2010-04-24 00:32:36 +00:00
- title t('.title')
- content_for :head do
= include_javascripts :pages
2010-04-24 00:32:36 +00:00
- content_for :submenu do
= render 'admin/shared/menu/contents'
- content_for :actions do
= render 'admin/shared/actions/contents'
2010-04-25 00:33:38 +00:00
- content_for :buttons do
= admin_button_tag :new, new_admin_page_url, :class => 'new'
2010-04-25 00:33:38 +00:00
2010-07-21 23:56:42 +00:00
%p!= t('.help')
2010-04-25 00:33:38 +00:00
- if @pages.empty?
2010-07-21 23:56:42 +00:00
%p.no-items!= t('.no_items', :url => new_admin_page_url)
2010-04-25 00:33:38 +00:00
- else
%ul#pages-list
= render @pages