lotus_admin 1.5.7 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 405663dd13d84a5fd217a3fc71842b5c63d22bc856cb65c15cb13e327ce179d3
4
- data.tar.gz: c7814206b4315499b7fda282ac5f5f16907d9aef34da98ce0f99688df1125a32
3
+ metadata.gz: 2831babc787ade51626bda751e5d640af336f640413a3d3a6cf8da991046a862
4
+ data.tar.gz: '09f3ba2f70b0350b68b9b7eba027c250730890a98261373db837cd6203e3b00d'
5
5
  SHA512:
6
- metadata.gz: 5c63ad4deab968e1c514c7d918ffc7a8fa6e712af61f91a40c8cd7a0e5724fd1f302c21ea3cfb9cb56bd683ba4364d189870e653acc288001cf2d2bf71090f8b
7
- data.tar.gz: 6b7746e4d804def2a2b49fcf1254a3ec53bd4e4740fcac24bd7ea7907d54c21a801da5b6f273da96915aec227bbf834aa70924a166a4114558a7f83fc0a9e1da
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
@@ -1,3 +1,3 @@
1
1
  module LotusAdmin
2
- VERSION = '1.5.7'
2
+ VERSION = '1.5.8'
3
3
  end
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.7
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-02 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails