cm-admin 3.0.0 → 3.0.1

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: 68baa7f041a506418c1caa2423b44126590de6b5bd4796df6d79cb5723dc4272
4
- data.tar.gz: db12d5bd371bcd73d8bc95ec0194fe7aa04fb101052f90aad12f3c1ee6160df5
3
+ metadata.gz: 6090c01fd1da2dcb938d36bdaddc8ec28b47379092b96bdd455f8cc36f06e08b
4
+ data.tar.gz: 110e87eadfebb684c650e5e80ed955c173369895f219cfd9f887887f75214cee
5
5
  SHA512:
6
- metadata.gz: 6cdc4b1adf109bfc4ce7208e9ce82cc0ee6094a71de89410931171ae16413d617263639f25c06c645f60772e6ef01b5606fac59b4ac865cb605170ffe5098c51
7
- data.tar.gz: 53940ca38471e4102c6ed6bdb33ae83d90c7a788a21cb02fee369a685a8fc64f1ab90cb004117d11fe5dab9313218f2e0ca33dd6cdaff66844765c7256d9e41b
6
+ metadata.gz: b41a13562211711b6409bbfdae8e033a6dfe6de1978be096a65681870d2cba3f21048422a76f3d8d335507545710085ea29cfa9189cf6865d198f81781e8910e
7
+ data.tar.gz: b08b437deadaaf911dcd2af141a30986c58f4705bbe0b8f6591dc663c44c0f321c82c58253a4de89bf55e926fb3194043bc8ee768d9808f2a3718dce8c90bb56
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cm-admin (3.0.0)
4
+ cm-admin (3.0.1)
5
5
  caxlsx_rails
6
6
  cocoon (~> 1.2.15)
7
7
  csv-importer (~> 0.8.2)
@@ -36,6 +36,7 @@
36
36
  - @model.available_fields[@action.name.to_sym].each do |column|
37
37
  - if column.display_if.call(Current.user) && column.viewable
38
38
  th = column.header
39
+ th data-field-type='action-cell-th'
39
40
  tbody.cm-table__body
40
41
  - @associated_ar_object.data.each do |ar_object|
41
42
  tr.body-row
@@ -8,7 +8,7 @@
8
8
  a.btn.btn-ghost href="#{cm_admin.send("cm_index_#{@model.name.underscore}_path")}?page=#{params[:page] || 1}&view_type=card"
9
9
  i.fa.fa-table-cells
10
10
  - if @model.sort_columns.present?
11
- = render 'cm_admin/main/sort', model: @model, ar_object: @ar_object
11
+ = render 'cm_admin/main/sort', model: @model, ar_object: @ar_object
12
12
 
13
13
  - if flash[:bulk_action_success].present?
14
14
  .alert.alert-success.me-4 role="success"
@@ -52,5 +52,3 @@
52
52
  .pagination-bar
53
53
  p.count-text.m-0 Showing #{@ar_object.pagy.from} to #{@ar_object.pagy.to} out of #{@ar_object.pagy.count}
54
54
  == render partial: 'cm_admin/main/cm_pagy_nav', locals: { pagy: @ar_object.pagy }
55
-
56
- / = render partial: 'cm_admin/main/member_custom_action_modal', locals: { cm_model: @model, ar_collection: @ar_object }
@@ -1,3 +1,3 @@
1
1
  module CmAdmin
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: exe
16
16
  cert_chain: []
17
- date: 2024-10-21 00:00:00.000000000 Z
17
+ date: 2024-10-22 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: caxlsx_rails