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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6090c01fd1da2dcb938d36bdaddc8ec28b47379092b96bdd455f8cc36f06e08b
|
4
|
+
data.tar.gz: 110e87eadfebb684c650e5e80ed955c173369895f219cfd9f887887f75214cee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b41a13562211711b6409bbfdae8e033a6dfe6de1978be096a65681870d2cba3f21048422a76f3d8d335507545710085ea29cfa9189cf6865d198f81781e8910e
|
7
|
+
data.tar.gz: b08b437deadaaf911dcd2af141a30986c58f4705bbe0b8f6591dc663c44c0f321c82c58253a4de89bf55e926fb3194043bc8ee768d9808f2a3718dce8c90bb56
|
data/Gemfile.lock
CHANGED
@@ -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
|
-
|
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 }
|
data/lib/cm_admin/version.rb
CHANGED
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.
|
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-
|
17
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: caxlsx_rails
|