table_on_steroids 0.1.0.3 → 0.1.0.5

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: 2dda5b77be73610d64202848bfdd46c65dd6af3dde428817a072511836131414
4
- data.tar.gz: 5c93c31ce6cbf2f3ff4e46d07fb24694937d1f3368694e79b8ddd8c7d8f1b359
3
+ metadata.gz: 461a53274c2bf291e7b89db8d818875153976f2d65473d3f041f2ed4810c5c89
4
+ data.tar.gz: 1558e8e8b3287e65ccc86b939e967a0ebe2497a50cb8f1f592dec444a418a868
5
5
  SHA512:
6
- metadata.gz: e2ebb74727eff5e2d1c7a8e1d582988b8749df5e39fc600f32f09c0e3a9aeaf6cb270c1e88f4397d4e0e7d48d776f3384a78a76b23117355eb1ce8a9f30db966
7
- data.tar.gz: a00466c536f76ca1822a7c0ea179a4347a7a1ae710154c7ac33706b33ecadcd06ef7a0a052b70f7670ff68599086b930e1e1e09843dc6d0b799fce41a3af5299
6
+ metadata.gz: d94a64d6d4236385d4278c799dbf1e2d675257c726b88b19e99cc02be2d3641a2d6d5126f8240753a19ae9e2cdfb17f45573443791e5e388975ad04e7cf8c806
7
+ data.tar.gz: 41874617183a0abd085e9f799701be203dab310b8fe98413a266cde3afdd49d3356443b4caa439425fac53d3c54923c71618ded10452aa9503ad3418ab48d3cc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- table_on_steroids (0.1.0.3)
4
+ table_on_steroids (0.1.0.5)
5
5
  bootstrap-datepicker-rails (~> 1)
6
6
  bootstrap-multiselect-rails (~> 0.9)
7
7
  kaminari (~> 1.1)
@@ -0,0 +1,3 @@
1
+ <li class="page-item">
2
+ <%= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, remote: remote, class: 'page-link' %>
3
+ </li>
@@ -0,0 +1,3 @@
1
+ <li class='page-item disabled'>
2
+ <%= link_to raw(t 'views.pagination.truncate'), '#', class: 'page-link' %>
3
+ </li>
@@ -0,0 +1,3 @@
1
+ <li class="page-item">
2
+ <%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, remote: remote, class: 'page-link' %>
3
+ </li>
@@ -0,0 +1,3 @@
1
+ <li class="page-item">
2
+ <%= link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, rel: 'next', remote: remote, class: 'page-link' %>
3
+ </li>
@@ -0,0 +1,9 @@
1
+ <% if page.current? %>
2
+ <li class="page-item active">
3
+ <%= content_tag :a, page, data: { remote: remote }, rel: (page.next? ? 'next' : (page.prev? ? 'prev' : nil)), class: 'page-link' %>
4
+ </li>
5
+ <% else %>
6
+ <li class="page-item">
7
+ <%= link_to page, url, remote: remote, rel: (page.next? ? 'next' : (page.prev? ? 'prev' : nil)), class: 'page-link' %>
8
+ </li>
9
+ <% end %>
@@ -0,0 +1,3 @@
1
+ <li class="page-item">
2
+ <%= link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, rel: 'prev', remote: remote, class: 'page-link' %>
3
+ </li>
@@ -1,3 +1,3 @@
1
1
  module TableOnSteroids
2
- VERSION = "0.1.0.3"
2
+ VERSION = "0.1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_on_steroids
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.3
4
+ version: 0.1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marieke Gueye
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-02-20 00:00:00.000000000 Z
12
+ date: 2019-02-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrap-datepicker-rails
@@ -112,7 +112,13 @@ files:
112
112
  - README.md
113
113
  - Rakefile
114
114
  - app/controllers/concerns/table_on_steroids/table_concern.rb
115
+ - app/views/kaminari/twitter-bootstrap-4/_first_page.html.erb
116
+ - app/views/kaminari/twitter-bootstrap-4/_gap.html.erb
117
+ - app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb
118
+ - app/views/kaminari/twitter-bootstrap-4/_next_page.html.erb
119
+ - app/views/kaminari/twitter-bootstrap-4/_page.html.erb
115
120
  - app/views/kaminari/twitter-bootstrap-4/_paginator.html.erb
121
+ - app/views/kaminari/twitter-bootstrap-4/_prev_page.html.erb
116
122
  - app/views/table_on_steroids/_table_on_steroids.html.erb
117
123
  - app/views/table_on_steroids/_table_on_steroids_filters.html.erb
118
124
  - bin/console