beef-pages 0.3.11 → 0.3.12

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.11
1
+ 0.3.12
@@ -21,8 +21,8 @@
21
21
  <th>Status</th>
22
22
  <th>Author</th>
23
23
  <th>Editor</th>
24
- <th>Created</th>
25
24
  <th>Updated</th>
25
+ <th>Created</th>
26
26
  <th>Published At</th>
27
27
  <th>Published To</th>
28
28
  <th colspan="7">Actions</th>
@@ -38,8 +38,8 @@
38
38
  <th>Status</th>
39
39
  <th>Author</th>
40
40
  <th>Editor</th>
41
- <th>Created</th>
42
41
  <th>Updated</th>
42
+ <th>Created</th>
43
43
  <th>Published At</th>
44
44
  <th>Published To</th>
45
45
  <th colspan="7">Actions</th>
@@ -68,7 +68,7 @@
68
68
  <p class="submission">
69
69
  <%= preview_link(@page) %>
70
70
  <%= f.submit 'Publish', :name => 'page[publish]' %>
71
- <%= f.submit 'Save as draft', :name => 'page[hide]' %>
71
+ <%= f.submit 'Save as draft', :name => 'page[hide]' if @page.lock_level < Page::LOCK_LEVEL_PERMALINK %>
72
72
  or <%= link_to 'Cancel', admin_pages_path %>
73
73
  </p>
74
74
 
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.11"
8
+ s.version = "0.3.12"
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-01-27}
12
+ s.date = %q{2010-02-03}
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.11
4
+ version: 0.3.12
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-01-27 00:00:00 +00:00
12
+ date: 2010-02-03 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies: []
15
15