Added unlisted selector to page form
This commit is contained in:
parent
2d3c0e974f
commit
db4d2af1bc
@ -19,6 +19,9 @@
|
|||||||
= f.custom_input :published, :css => 'toggle' do
|
= f.custom_input :published, :css => 'toggle' do
|
||||||
= f.check_box :published
|
= 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.custom_input :redirect, :css => 'toggle', :style => "#{'display: none' if @page.templatized?}" do
|
||||||
= f.check_box :redirect
|
= f.check_box :redirect
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ en:
|
|||||||
published: "Only authenticated accounts can view unpublished pages."
|
published: "Only authenticated accounts can view unpublished pages."
|
||||||
cache_strategy: "Cache the page for better performance. The 'Simple' choice is a good compromise."
|
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."
|
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:
|
snippet:
|
||||||
slug: "You need to know it in order to insert the snippet inside a page"
|
slug: "You need to know it in order to insert the snippet inside a page"
|
||||||
site:
|
site:
|
||||||
|
Loading…
Reference in New Issue
Block a user