effective_pages 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff3bfea631ca98daace97fda069c9f32d62a9099
|
4
|
+
data.tar.gz: 2194b323265b6f42fa8beb20fc037f3448707928
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1857e0d0ad14b5591e12ce6d427bfe129fdfd1b415ecb5363acf0b4ab1e798f7dd173c4fe6a91f07f67771beff159a43ab2fccc0ab346ea6e64af12bd3d86b0
|
7
|
+
data.tar.gz: efee68321d1a532b853ea3afefd7114d9b5f99f46068fc32d49d51dd2af1b984661fc4efbdf8029e469a3b44cfa056fad723342ce0c2561ecfb3e2cf4dd619ac
|
@@ -2,10 +2,12 @@ if defined?(EffectiveDatatables)
|
|
2
2
|
module Effective
|
3
3
|
module Datatables
|
4
4
|
class Menus < Effective::Datatable
|
5
|
-
|
5
|
+
datatable do
|
6
|
+
table_column :id
|
6
7
|
|
7
|
-
|
8
|
-
|
8
|
+
table_column :title
|
9
|
+
table_column :actions, :sortable => false, :filter => false, :partial => '/admin/menus/actions'
|
10
|
+
end
|
9
11
|
|
10
12
|
def collection
|
11
13
|
Effective::Menu.all
|
@@ -2,16 +2,18 @@ if defined?(EffectiveDatatables)
|
|
2
2
|
module Effective
|
3
3
|
module Datatables
|
4
4
|
class Pages < Effective::Datatable
|
5
|
-
|
6
|
-
|
5
|
+
datatable do
|
6
|
+
default_order :title, :asc
|
7
|
+
default_entries :all
|
7
8
|
|
8
|
-
|
9
|
+
table_column :id, :visible => false
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
11
|
+
table_column :title
|
12
|
+
table_column :slug
|
13
|
+
table_column :draft
|
13
14
|
|
14
|
-
|
15
|
+
table_column :actions, :sortable => false, :filter => false, :partial => '/admin/pages/actions'
|
16
|
+
end
|
15
17
|
|
16
18
|
def collection
|
17
19
|
Effective::Page.all
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.0.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.0.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: effective_regions
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|