effective_bootstrap 1.16.0 → 1.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/effective_datetime/overrides.scss +4 -0
- data/app/helpers/effective_bootstrap_helper.rb +2 -2
- data/app/models/effective/form_inputs/date_field.rb +4 -1
- data/app/models/effective/form_inputs/file_field.rb +1 -1
- data/lib/effective_bootstrap/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: 87aa66bc159b634a8f2488be80d1e5ef7a394bd0290f4d1ea32c28e7d6a495ab
|
4
|
+
data.tar.gz: 2499601a659f1ef507e8df40d90a2d674e402d0844765bb2a638882ccf4f1d29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dac5d328b339bd78a72a98ea369d30e608b324ba3b82319e6141b6d7439c1506f3c97c2ea3f6588f3155e21a8db02d8bbf19073333b4b78b52a2cc1873fd39f
|
7
|
+
data.tar.gz: ff575ae33601920379638cc879d893c1c6c3f07cd220b1ad054a56f2580078951ad00bcc36fffa5b03e6cb4689c1bc0cb1d3f6ca556cff5add02e502299b0dbc
|
@@ -485,13 +485,13 @@ module EffectiveBootstrapHelper
|
|
485
485
|
# Pagination Tags
|
486
486
|
prev_tag = content_tag(:li, class: ['page-item', ('disabled' if page <= 1)].compact.join(' ')) do
|
487
487
|
link_to(content_tag(:span, 'Previous'.html_safe), (page <= 1 ? '#' : url + params.merge('page' => page - 1).to_query),
|
488
|
-
class: 'page-link', 'aria-label': 'Previous', title: 'Previous', 'aria-disabled': ('true' if page <= 1), 'tabindex': ('-1' if page <= 1)
|
488
|
+
class: 'page-link', 'aria-label': 'Previous', title: 'Previous', 'aria-disabled': ('true' if page <= 1), 'tabindex': ('-1' if page <= 1), 'rel': ('prev' unless page <= 1)
|
489
489
|
)
|
490
490
|
end
|
491
491
|
|
492
492
|
next_tag = content_tag(:li, class: ['page-item', ('disabled' if page >= last)].compact.join(' ')) do
|
493
493
|
link_to(content_tag(:span, 'Next'.html_safe), (page >= last ? '#' : url + params.merge('page' => page + 1).to_query),
|
494
|
-
class: 'page-link', 'aria-label': 'Next', title: 'Next', 'aria-disabled': ('true' if page >= last), 'tabindex': ('-1' if page >= last)
|
494
|
+
class: 'page-link', 'aria-label': 'Next', title: 'Next', 'aria-disabled': ('true' if page >= last), 'tabindex': ('-1' if page >= last), 'rel': ('next' unless page >= last)
|
495
495
|
)
|
496
496
|
end
|
497
497
|
|
@@ -17,7 +17,10 @@ module Effective
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def input_group_options
|
20
|
-
{
|
20
|
+
{
|
21
|
+
input_group: { class: 'input-group effective_date_time_picker_input_group' },
|
22
|
+
prepend: (content_tag(:span, icon('calendar'), class: 'input-group-text') unless disabled?)
|
23
|
+
}
|
21
24
|
end
|
22
25
|
|
23
26
|
def datetime_to_s # ruby
|
@@ -161,7 +161,7 @@ module Effective
|
|
161
161
|
end
|
162
162
|
|
163
163
|
def build_purge
|
164
|
-
return ''.html_safe unless purge?
|
164
|
+
return ''.html_safe unless purge? && !disabled?
|
165
165
|
|
166
166
|
label = (multiple? ? 'Delete existing files on save' : 'Delete existing file on save')
|
167
167
|
@builder.check_box('_purge', multiple: true, label: label, id: "#{tag_id}_purge", checked_value: name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.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: 2023-10-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|