web47core 3.2.3.11 → 3.2.3.12
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 +4 -4
- data/app/helpers/core_table_action_helper.rb +8 -0
- data/config/locales/en.yml +1 -0
- data/lib/web47core/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: 5aba397bc5c5adc856bb7fa58b4343a7abab9052d11309a374606deb613a720c
|
4
|
+
data.tar.gz: e2533490490c8b47c317ac8a6ab41484ca40695f1cbf8460637e3b469242f379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81646fc9bc450ba4e2010707d1c909c8be5dc0a55b2383e038a0a756d5aaa85ae4ca4a23faf5b9edb3f4ef62d648e9b38a2a0c3a127078308a49232734b023e0
|
7
|
+
data.tar.gz: 5ad4cc0ffa70a0e335595eeaf959e43d25a807587f5a8cd4e280dc2d72dd3adc8adc7c7ec0b3bffe99ab527b349d2de00317c616f4e5a938ee7164e5c3462d10
|
@@ -1,5 +1,13 @@
|
|
1
1
|
module CoreTableActionHelper
|
2
2
|
|
3
|
+
def table_action_duplicate_tag(record, path, options = {})
|
4
|
+
return unless can?(:create, record.class)
|
5
|
+
|
6
|
+
options[:title] ||= 'Duplicate'
|
7
|
+
options[:icon_name] ||= :duplicate
|
8
|
+
table_action_tag(path, options)
|
9
|
+
end
|
10
|
+
|
3
11
|
def table_action_show_tag(record, path, options = {})
|
4
12
|
return unless can?(:read, record)
|
5
13
|
|
data/config/locales/en.yml
CHANGED
data/lib/web47core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web47core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.3.
|
4
|
+
version: 3.2.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Schroeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|