radiant-locked_page_parts-extension 0.1.4 → 0.1.5
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/_lock_page_part.haml +3 -3
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
@@ -1,9 +1,9 @@
|
|
1
1
|
- page_part_counter = @page.parts.index(page_part)
|
2
2
|
- if current_user.admin?
|
3
3
|
%span.lock_page_part
|
4
|
-
~ hidden_field_tag "page[parts_attributes][#{page_part_counter}][locked]",
|
5
|
-
|
6
|
-
|
4
|
+
~ hidden_field_tag "page[parts_attributes][#{page_part_counter}][locked]", '0'
|
5
|
+
%label
|
6
|
+
~ check_box_tag "page[parts_attributes][#{page_part_counter}][locked]", '1', page_part.locked?
|
7
7
|
= t('locked_page_parts.locked')
|
8
8
|
- elsif page_part.locked?
|
9
9
|
:javascript
|
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
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-
|
18
|
+
date: 2011-06-11 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|