eac_rails_base0 0.18.0 → 0.19.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98df707f32e469861be6b188af441c4754fcdbe51764705596513eaa35ea3f3c
|
4
|
+
data.tar.gz: edb2625a7850b19ea5aaf500b397f12fb8151ba39cbad7c0f213bbb0ea91c355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbbd242ab0c9b265dd5c1d6c52706fe6111b46e882596ed692e8a960d6ab22335fab5782ba428a6dd9fcfab1a3e6d8830c97600e1af6e9fcfc0534774f9c8c20
|
7
|
+
data.tar.gz: f70b64340b17c236bbc2f516c2e1e2ddc7051145a4e3acf181d8dbc724f20575325678e2f9fafd583c80c6cdd49d4a6431adda07bd1bb56d173243a7c90c5b11
|
@@ -28,11 +28,11 @@ module EacRailsBase0
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def short_show_link(object)
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
short_detail_show_link(object, false)
|
32
|
+
end
|
33
|
+
|
34
|
+
def short_detail_link(object)
|
35
|
+
short_detail_show_link(object, true)
|
36
36
|
end
|
37
37
|
|
38
38
|
def object_path(object, action = nil)
|
@@ -40,5 +40,15 @@ module EacRailsBase0
|
|
40
40
|
path = "#{action}_#{path}" if action.present?
|
41
41
|
send(path, object)
|
42
42
|
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def short_detail_show_link(object, detail)
|
47
|
+
value_or_sign(object, detail ? 'detail' : nil) do |value|
|
48
|
+
link_to '', object_path(value),
|
49
|
+
class: 'show_link', target: '_blank',
|
50
|
+
title: ::I18n.t('eac_rails_base0.links.show_object', label: value.to_s)
|
51
|
+
end
|
52
|
+
end
|
43
53
|
end
|
44
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_rails_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bootstrap-sass
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -303,7 +303,7 @@ dependencies:
|
|
303
303
|
version: '0.2'
|
304
304
|
- - ">="
|
305
305
|
- !ruby/object:Gem::Version
|
306
|
-
version: 0.2.
|
306
|
+
version: 0.2.3
|
307
307
|
type: :runtime
|
308
308
|
prerelease: false
|
309
309
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -313,7 +313,7 @@ dependencies:
|
|
313
313
|
version: '0.2'
|
314
314
|
- - ">="
|
315
315
|
- !ruby/object:Gem::Version
|
316
|
-
version: 0.2.
|
316
|
+
version: 0.2.3
|
317
317
|
- !ruby/object:Gem::Dependency
|
318
318
|
name: therubyracer
|
319
319
|
requirement: !ruby/object:Gem::Requirement
|