radiant-locked_page_parts-extension 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -1,6 +1,6 @@
1
1
  - if current_user.admin?
2
2
  %span.lock_page_part
3
- ~ hidden_field_tag "page[parts_attributes][#{page_part_counter}][locked]", :value => '0'
3
+ ~ hidden_field_tag "page[parts_attributes][#{params[:index].to_i}][locked]", :value => '0'
4
4
  ~ check_box_tag "page[parts_attributes][#{params[:index].to_i}][locked]", '1', page_part.locked?
5
5
  %label{:for => "page_parts_attributes_#{params[:index].to_i}_locked"}
6
6
  = t('locked_page_parts.locked')
@@ -2,7 +2,7 @@
2
2
  # require_dependency 'application_controller'
3
3
 
4
4
  class LockedPagePartsExtension < Radiant::Extension
5
- version "0.1.2"
5
+ version "0.1.3"
6
6
  description "Allows you to hide certain page parts from normal users"
7
7
  url "https://github.com/jomz/radiant_locked_page_parts"
8
8
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-locked_page_parts-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benny Degezelle
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-31 00:00:00 +02:00
18
+ date: 2011-04-01 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency