Added unlisted selector to page form

This commit is contained in:
Dirk Kelly 2011-02-01 14:50:32 +08:00
parent 2d3c0e974f
commit db4d2af1bc
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,9 @@
= f.custom_input :published, :css => 'toggle' do
= f.check_box :published
= f.custom_input :unlisted, :css => 'toggle', :style => "#{'display: none' if @page.templatized?}" do
= f.check_box :unlisted
= f.custom_input :redirect, :css => 'toggle', :style => "#{'display: none' if @page.templatized?}" do
= f.check_box :redirect

View File

@ -43,6 +43,7 @@ en:
published: "Only authenticated accounts can view unpublished pages."
cache_strategy: "Cache the page for better performance. The 'Simple' choice is a good compromise."
templatized: "Use the page as a template for a model you defined."
unlisted: "Hide the page from any generated menus, it will still be accessible directly"
snippet:
slug: "You need to know it in order to insert the snippet inside a page"
site: