lotus_admin 1.5.7 → 1.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/lotus_admin/link_helpers.rb +4 -4
- data/lib/lotus_admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2831babc787ade51626bda751e5d640af336f640413a3d3a6cf8da991046a862
|
4
|
+
data.tar.gz: '09f3ba2f70b0350b68b9b7eba027c250730890a98261373db837cd6203e3b00d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa99bfe18665c700aaf3083355e8a3369336338682bfd7e990fb797f9dc54fe8d9d17accdb1f5a152834e27e85d425b189d17c2138d94efe5d338f836b51b0e1
|
7
|
+
data.tar.gz: d64d541c9598fd6993a47f04554a6a32d674c7a3e9e9d2f6541b527ff933a27aa4dc53e576df547519c782d1f663c29998f8d048b76d58242ac67b8236e34989
|
@@ -33,25 +33,25 @@ module LotusAdmin
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def view_link(resource)
|
36
|
-
link_to lotus_admin.polymorphic_path(undecorated(resource)) do
|
36
|
+
link_to lotus_admin.polymorphic_path(undecorated(resource)), title: 'View Details' do
|
37
37
|
content_tag(:i, nil, class: 'zmdi zmdi-eye')
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
41
|
def new_link(parent = nil)
|
42
|
-
link_to lotus_admin.new_polymorphic_path([parent, resource_class].compact) do
|
42
|
+
link_to lotus_admin.new_polymorphic_path([parent, resource_class].compact), title: 'New' do
|
43
43
|
content_tag(:i, nil, class: 'zmdi zmdi-plus-circle')
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
47
|
def edit_link(resource)
|
48
|
-
link_to lotus_admin.edit_polymorphic_path(undecorated(resource)) do
|
48
|
+
link_to lotus_admin.edit_polymorphic_path(undecorated(resource)), title: 'Edit' do
|
49
49
|
content_tag(:i, nil, class: 'zmdi zmdi-edit')
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
53
|
def destroy_link(resource)
|
54
|
-
link_to lotus_admin.polymorphic_path(undecorated(resource)), data: { method: :delete, confirm: "Are you sure you want to remove this #{ resource.model_name.human }?" } do
|
54
|
+
link_to lotus_admin.polymorphic_path(undecorated(resource)), title: 'Delete', data: { method: :delete, confirm: "Are you sure you want to remove this #{ resource.model_name.human }?" } do
|
55
55
|
content_tag(:i, nil, class: 'zmdi zmdi-delete')
|
56
56
|
end
|
57
57
|
end
|
data/lib/lotus_admin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lotus_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Millsaps-Brewer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|