refinerycms 0.9.6.3 → 0.9.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.6.
|
1
|
+
0.9.6.4
|
@@ -24,7 +24,7 @@
|
|
24
24
|
</ul>
|
25
25
|
<% end %>
|
26
26
|
|
27
|
-
<div id='page_part_editors'
|
27
|
+
<div id='page_part_editors'>
|
28
28
|
<% part_index = -1 %>
|
29
29
|
<% f.fields_for :parts do |p| %>
|
30
30
|
<%= render :partial => "page_part_field", :locals => {
|
@@ -119,7 +119,7 @@
|
|
119
119
|
<input id='new_page_part_index' type='hidden' value='<%= @page.parts.size %>' />
|
120
120
|
</div>
|
121
121
|
<%= render :partial => "/shared/admin/form_actions", :locals => {
|
122
|
-
:f => f,
|
122
|
+
:f => f,
|
123
123
|
:continue_editing => false,
|
124
124
|
:submit_button_id => "new_page_part_save",
|
125
125
|
:cancel_button_id => "new_page_part_cancel"
|
@@ -1,17 +1,17 @@
|
|
1
1
|
<%
|
2
|
-
|
2
|
+
body_content_title = (title = yield :body_content_title).blank? ? page_title : title
|
3
3
|
body_content_left = (body_content_left = yield :body_content_left).blank? ? @page[:body] : body_content_left
|
4
4
|
body_content_right = (body_content_right = yield :body_content_right).blank? ? @page[:side_body] : body_content_right
|
5
5
|
extra_body_content_classes = []
|
6
|
-
extra_body_content_classes << "no_title" if
|
6
|
+
extra_body_content_classes << "no_title" if body_content_title.blank?
|
7
7
|
extra_body_content_classes << "no_left" if body_content_left.blank?
|
8
8
|
extra_body_content_classes << "no_right" if body_content_right.blank?
|
9
9
|
-%>
|
10
10
|
<%= render :partial => "/shared/submenu" if !admin? and (show_submenu ||= true) and RefinerySetting.find_or_set(:show_submenu_on_content_pages, true) %>
|
11
11
|
<div id='body_content' class='clearfix<%= " #{extra_body_content_classes.join(" ")}" unless extra_body_content_classes.empty? %>'>
|
12
|
-
<% unless
|
12
|
+
<% unless body_content_title.blank? and !(show_empty_sections ||= false) -%>
|
13
13
|
<h1 id='body_content_page_title'>
|
14
|
-
<%=
|
14
|
+
<%= body_content_title %>
|
15
15
|
</h1>
|
16
16
|
<% end -%>
|
17
17
|
<% unless body_content_left.blank? and !(show_empty_sections ||= false) -%>
|