effective_datatables 4.32.0 → 4.32.2
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/assets/stylesheets/dataTables/buttons/buttons.bootstrap4.scss +0 -5
- data/app/assets/stylesheets/dataTables/dataTables.bootstrap4.scss +1 -0
- data/app/helpers/effective_datatables_private_helper.rb +2 -1
- data/app/views/effective/datatables/_filters.html.haml +2 -2
- data/config/locales/en.yml +1 -1
- data/lib/effective_datatables/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: 9100f94b25b41b063bfb22badd52d44a013841a9a8777f82c46c603a9253037a
|
4
|
+
data.tar.gz: 4865f6a29fb6537c7c78ae86bfb3694291ac9c0f1602bae6b316ae1f740332f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b586704013a3f4cab49e372a7c4b2f72c61b3167ee51fd332d08d914370226388a1b84f758aa342c4dbd57396e02929ce93ed4909806df5d35e119ffcb25d10
|
7
|
+
data.tar.gz: f3313ae916189ab08285a3a4eda9641928c1a623bb7827c9935c85eca8eeeaad3dc6c0c93ff6e2f0602bc03e8e46f671275e74b337f3f10e5128eb19b674b79f
|
@@ -44,7 +44,8 @@ module EffectiveDatatablesPrivateHelper
|
|
44
44
|
def datatable_new_resource_button(datatable, name, column)
|
45
45
|
return unless datatable.inline? && (column[:actions][:new] != false)
|
46
46
|
|
47
|
-
|
47
|
+
# Override the default btn_class and use this one
|
48
|
+
action = { action: :new, class: 'btn btn-sm btn-success', 'data-remote': true }
|
48
49
|
|
49
50
|
if column[:actions][:new].kind_of?(Hash) # This might be active_record_array_collection?
|
50
51
|
actions = action.merge(column[:actions][:new])
|
@@ -13,6 +13,6 @@
|
|
13
13
|
|
14
14
|
.form-group.col-auto
|
15
15
|
- if datatable._filters_form_required?
|
16
|
-
= form.save t('effective_datatables.apply'), 'data-disable-with': t('effective_datatables.applying')
|
16
|
+
= form.save t('effective_datatables.apply'), 'data-disable-with': t('effective_datatables.applying'), class: 'btn btn-sm btn-secondary'
|
17
17
|
- else
|
18
|
-
= link_to t('effective_datatables.apply'), '#', class: 'btn btn-
|
18
|
+
= link_to t('effective_datatables.apply'), '#', class: 'btn btn-sm btn-secondary btn-effective-datatables-filters', 'data-apply-effective-datatables-filters': true
|
data/config/locales/en.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_datatables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.32.
|
4
|
+
version: 4.32.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|