rails_admin_ui_dashboard_blocks 1.1.5 → 1.1.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: 4b1773d31352d385bb17ce96cab5fb4b9e5b8146
|
4
|
+
data.tar.gz: 9c67a7dd1338b8f0bc3f20676db4a6932c9cb8e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 047725ba3ff6f38e2baa587b201fc55914e222c6be1c4b6f03a5b9a9550b2b0a1b051e43ad68db883e1dd44ea28b4ca53d7cfbcd955aecac25efac3570e024fb
|
7
|
+
data.tar.gz: 3506db4bf67ca4b0840c8669dc540008b47fe902c194d5a7605774437fe25d0aea8c98b2667c262d75a1c733526ff4ee0a86a7fc5bc6b846883f87d0bae5f11c
|
@@ -4,10 +4,10 @@
|
|
4
4
|
.row
|
5
5
|
- index = 0
|
6
6
|
- @abstract_models.each do |abstract_model|
|
7
|
-
-
|
7
|
+
- index_path = index_path(model_name: abstract_model.to_param)
|
8
|
+
- if authorized?(:index, abstract_model) && !index_path.include?("ckeditor")
|
8
9
|
- if index == @list_bg.length
|
9
10
|
- index = 0
|
10
|
-
- index_path = index_path(model_name: abstract_model.to_param)
|
11
11
|
- row_class = "box bg-#{ @list_bg[index].to_s } #{"link" if index_path} #{abstract_model.param_key}_links #{abstract_model.config.label_plural}"
|
12
12
|
.col-sm-4
|
13
13
|
.box{class: row_class, :"data-link" => index_path}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_ui_dashboard_blocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore
|