зеркало из https://github.com/github/octobox.git
Bump pagy from 4.11.0 to 5.0.0 (#2804)
* Bump pagy from 4.11.0 to 5.0.0 Bumps [pagy](https://github.com/ddnexus/pagy) from 4.11.0 to 5.0.0. - [Release notes](https://github.com/ddnexus/pagy/releases) - [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md) - [Commits](https://github.com/ddnexus/pagy/compare/4.11.0...5.0.0) --- updated-dependencies: - dependency-name: pagy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Fixed tests Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Nesbitt <andrewnez@gmail.com>
This commit is contained in:
Родитель
5f2909852b
Коммит
d81c0267ca
|
@ -209,7 +209,7 @@ GEM
|
|||
omniauth-oauth2 (1.7.1)
|
||||
oauth2 (~> 1.4)
|
||||
omniauth (>= 1.9, < 3)
|
||||
pagy (4.11.0)
|
||||
pagy (5.0.0)
|
||||
pg (1.2.3)
|
||||
pg_search (2.3.5)
|
||||
activerecord (>= 5.2)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% if pagy.pages > 1 %>
|
||||
<% link = pagy_link_proc(pagy, 'class="page-link"') -%>
|
||||
<% link = pagy_link_proc(pagy, link_extra: 'class="page-link"') -%>
|
||||
<nav aria-label="pager" class="pagy-bootstrap-nav pagination" role="navigation">
|
||||
<ul class="pagination">
|
||||
<% if pagy.prev -%>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pagy/extras/headers'
|
||||
Pagy::VARS[:items] = 20
|
||||
Pagy::DEFAULT[:items] = 20
|
||||
require 'pagy/extras/overflow'
|
||||
Pagy::VARS[:overflow] = :last_page
|
||||
Pagy::DEFAULT[:overflow] = :last_page
|
||||
|
|
Загрузка…
Ссылка в новой задаче