beef-pages 0.3.17 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/admin/pages/_page.html.erb +1 -1
- data/app/views/admin/pages/show.html.erb +10 -10
- data/beef-pages.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.18
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<td class="date"><%= page.created_at.to_formatted_s(:short) %></td>
|
9
9
|
<td class="date"><%= page.published_at.to_formatted_s(:short) unless page.published_at.nil? %></td>
|
10
10
|
<td class="date"><%= page.published_to.to_formatted_s(:short) unless page.published_to.nil? %></td>
|
11
|
-
<td class="action"><%= link_to 'Show', page_path(page.permalink), :class => 'show'
|
11
|
+
<td class="action"><%= link_to 'Show', page_path(page.permalink), :class => 'show', :title => 'View this page' if page.published? %></td>
|
12
12
|
<td class="action"><%= link_to 'Add page', new_admin_page_page_path(page), :class => 'add', :title => "Add a sub-page under #{page.title}" unless page.lock_level >= Page::LOCK_LEVEL_SUBPAGE %></td>
|
13
13
|
<td class="action"><%= link_to 'Edit', [:admin, page], :class => 'edit', :title => 'Edit this page' %></td>
|
14
14
|
<td class="action"><%= link_to('Delete', admin_page_path(page), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this page') unless page.lock_level >= Page::LOCK_LEVEL_DELETE %></td>
|
@@ -22,6 +22,16 @@
|
|
22
22
|
</p>
|
23
23
|
<% end %>
|
24
24
|
|
25
|
+
<p>
|
26
|
+
<%= f.label :body, 'Body*' %><br/>
|
27
|
+
<%= f.text_area 'body', :class => 'editor' %>
|
28
|
+
</p>
|
29
|
+
|
30
|
+
<p>
|
31
|
+
<%= f.label :description, "Description*" %><br/>
|
32
|
+
<%= f.text_area :description, "rows" => 4 %>
|
33
|
+
</p>
|
34
|
+
|
25
35
|
<% if @page.lock_level < Page::LOCK_LEVEL_PERMALINK %>
|
26
36
|
<p>
|
27
37
|
<%= f.label :permalink, "URL" %><br/>
|
@@ -36,16 +46,6 @@
|
|
36
46
|
</p>
|
37
47
|
<% end %>
|
38
48
|
|
39
|
-
<p>
|
40
|
-
<%= f.label :body, 'Body*' %><br/>
|
41
|
-
<%= f.text_area 'body', :class => 'editor' %>
|
42
|
-
</p>
|
43
|
-
|
44
|
-
<p>
|
45
|
-
<%= f.label :description, "Description*" %><br/>
|
46
|
-
<%= f.text_area :description, "rows" => 4 %>
|
47
|
-
</p>
|
48
|
-
|
49
49
|
<p>
|
50
50
|
<%= f.label :tag_list, "Keywords (used by search engines) & Tags - comma separated*" %><br/>
|
51
51
|
<%= f.text_field :tag_list, :class => 'long' %>
|
data/beef-pages.gemspec
CHANGED