effective_bootstrap 1.16.0 → 1.16.1
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/helpers/effective_bootstrap_helper.rb +2 -2
- data/lib/effective_bootstrap/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ccf7a54e3db3db623fce49bd558b72f39938d3c01bef4b5c06e0250e0b581946
|
|
4
|
+
data.tar.gz: 06aadcb37db501af97921a20a558e29a3693d8de08162cc2b621b305a015b36c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e378b4f94cb4bc226b8ce80a18703e8348f84d023ed61d6d9aecd03191ae7cbeb6ab71b7374553ec91dfa7d623f7a5ecff88a3e114fc302648da1aeec0431864
|
|
7
|
+
data.tar.gz: 3ca5c93e2c8207d8460f138036564d228baff8383fc14827df107f1f12e5f7c781ff7624a53338bd16e9978e1f4309a0dbbdb5629970d575ef1c032bbac49929
|
|
@@ -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
|
|