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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d09f0ff698237230cce01b2f0bdddc0d359c5e4126c25f1a058cae1363bfeb1a
4
- data.tar.gz: 1e11fe61507af9707b4d590d14dc36067fe3c9fc2873a22ed46781ac9e0e6b0f
3
+ metadata.gz: 5aba397bc5c5adc856bb7fa58b4343a7abab9052d11309a374606deb613a720c
4
+ data.tar.gz: e2533490490c8b47c317ac8a6ab41484ca40695f1cbf8460637e3b469242f379
5
5
  SHA512:
6
- metadata.gz: 7d7dd81eac8ffb8284fbdad35c86955acada6ed02b23def98b02d063db8860786db9b41b20d70dc6a23c137c689dfd04e396d0e25da7a9ee2662c3989533b76a
7
- data.tar.gz: f7de9c1e795aff192a5450bb1dbfb80624daae104c4413021d1a2ee7e4f1503b83ac5a18f62a962dde5196c497c5d9bf1457ce74c3a824a35633bc032a6ed5c0
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
 
@@ -66,6 +66,7 @@ en:
66
66
  promote: outline/thumb-up
67
67
  recycle: outline/recycle
68
68
  restore: outline/restore
69
+ duplicate: outline/copy-plus
69
70
  archive: outline/archive
70
71
  save: outline/device-floppy
71
72
  update: outline/device-floppy
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '3.2.3.11'
4
+ VERSION = '3.2.3.12'
5
5
  end
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.11
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-09-22 00:00:00.000000000 Z
11
+ date: 2025-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel