adminpanel 3.4.5 → 3.4.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: e940659f65a2efe63bf924bb156203648caa9be6
|
4
|
+
data.tar.gz: fccbcb078b237866fad8e9a7295ebc90361b7849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eb1aa070107a500cbf470671ddb4998d74dc905d5ccb960d68961dbb2165dcb2db0deacfd9c5f624a154ec1126117a423420fbf8205357ea308cad73421c37c
|
7
|
+
data.tar.gz: d535cd98583a48ad105b0aba7667c425ec95dad910065336a59abd04583e466e2962938c90f02db8ddd3486a1b07e4c4bc1e45f929933c5471f35abe06b36998
|
@@ -68,7 +68,11 @@ module Adminpanel
|
|
68
68
|
link_to(object.send("#{attribute}_url").split('/').last, object.try(:send, "#{attribute}_url")) if object.send("#{attribute}_url").present?
|
69
69
|
when 'image_field'
|
70
70
|
content_tag :ul do
|
71
|
-
|
71
|
+
if object.send("#{attribute}_url").present?
|
72
|
+
image_tag(object.send("#{attribute}_url", :thumb))
|
73
|
+
else
|
74
|
+
'N/A'
|
75
|
+
end
|
72
76
|
end
|
73
77
|
when 'boolean'
|
74
78
|
if object.send(attribute)
|
data/config/locales/es.yml
CHANGED
data/lib/adminpanel/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adminpanel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jose Ramon Camacho
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-08-
|
13
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|