beef-pages 0.3.16 → 0.3.17
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 +1 -1
- data/app/views/admin/pages/_page.html.erb +5 -5
- data/beef-pages.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.17
|
|
@@ -8,10 +8,10 @@
|
|
|
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' if page.published
|
|
11
|
+
<td class="action"><%= link_to 'Show', page_path(page.permalink), :class => 'show' if page.published?, :title => 'View this page' %></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
|
-
<td class="action"><%= link_to 'Edit', [:admin, page], :class => 'edit' %></td>
|
|
14
|
-
<td class="action"><%= link_to('
|
|
15
|
-
<td class="action"><%= link_to 'up', move_up_admin_page_path(page), { :class => "page_up" } unless page.first? %></td>
|
|
16
|
-
<td class="action"><%= link_to 'down', move_down_admin_page_path(page), { :class => 'page_down' } unless page.last? %></td>
|
|
13
|
+
<td class="action"><%= link_to 'Edit', [:admin, page], :class => 'edit', :title => 'Edit this page' %></td>
|
|
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>
|
|
15
|
+
<td class="action"><%= link_to 'up', move_up_admin_page_path(page), { :class => "page_up", :title => 'Move this page higher in the navigation' } unless page.first? %></td>
|
|
16
|
+
<td class="action"><%= link_to 'down', move_down_admin_page_path(page), { :class => 'page_down', :title => 'Move this page lower in the navigation' } unless page.last? %></td>
|
|
17
17
|
</tr>
|
data/beef-pages.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{beef-pages}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.17"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Steve England"]
|
|
12
|
-
s.date = %q{2010-02-
|
|
12
|
+
s.date = %q{2010-02-25}
|
|
13
13
|
s.email = %q{steve@wearebeef.co.uk}
|
|
14
14
|
s.extra_rdoc_files = [
|
|
15
15
|
"LICENSE",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beef-pages
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steve England
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-02-
|
|
12
|
+
date: 2010-02-25 00:00:00 +00:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|