effective_datatables 4.26.0 → 4.26.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: f6fd6b02564f438e0aa52250f202db9db27c5388e677b3e8758eecaa0a46ea82
|
4
|
+
data.tar.gz: b8fac9e5fbef111411e4b260e9d5ad4a2990cd7e5a8fbbda355b3baa1a2b4abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7b229e901f10e15b6a1991b68ef50d69575082657257095e811492a1efc830f05732e0747ea86087b57ee80cf0204bc5745e72d3eff7c4fedb654159a170d61
|
7
|
+
data.tar.gz: fd3f4b8d1f6ad92d25b27bf220addec9754efa774bd941e23e6c1c6201533d6758f275403ff1b4f532eac5967c965fecf02e6d7f5313e9dbcfcbf0fd5d8e5292
|
@@ -33,15 +33,15 @@
|
|
33
33
|
|
34
34
|
= f.show_if :date_range, :year do
|
35
35
|
= f.static_field :year, wrapper: { class: 'effective-datatables-filter' } do
|
36
|
-
- date =
|
36
|
+
- date = start_date.beginning_of_year
|
37
37
|
|
38
38
|
= link_to '#', 'data-effective-datatables-filter-prev-year': date.advance(years: -1).strftime('%F') do
|
39
39
|
= icon('arrow-left-circle')
|
40
40
|
%span.prev-year= date.advance(years: -1).strftime('%Y')
|
41
41
|
|
42
|
-
%span.start-date=
|
42
|
+
%span.start-date= start_date.strftime('%F')
|
43
43
|
to
|
44
|
-
%span.end-date=
|
44
|
+
%span.end-date= end_date.strftime('%F')
|
45
45
|
|
46
46
|
= link_to '#', 'data-effective-datatables-filter-next-year': date.advance(years: 1).strftime('%F') do
|
47
47
|
= icon('arrow-right-circle')
|
@@ -53,15 +53,15 @@
|
|
53
53
|
|
54
54
|
= f.show_if :date_range, :month do
|
55
55
|
= f.static_field :month, wrapper: { class: 'effective-datatables-filter' } do
|
56
|
-
- date =
|
56
|
+
- date = start_date.beginning_of_month
|
57
57
|
|
58
58
|
= link_to '#', 'data-effective-datatables-filter-prev-month': date.advance(months: -1).strftime('%F') do
|
59
59
|
= icon('arrow-left-circle')
|
60
60
|
%span.prev-month= date.advance(months: -1).strftime('%b')
|
61
61
|
|
62
|
-
%span.start-date=
|
62
|
+
%span.start-date= start_date.strftime('%F')
|
63
63
|
to
|
64
|
-
%span.end-date=
|
64
|
+
%span.end-date= end_date.strftime('%F')
|
65
65
|
|
66
66
|
= link_to '#', 'data-effective-datatables-filter-next-month': date.advance(months: 1).strftime('%F') do
|
67
67
|
= icon('arrow-right-circle')
|
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.26.
|
4
|
+
version: 4.26.1
|
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: 2024-
|
11
|
+
date: 2024-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|