dvl-kaminari-views 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/kaminari/dvl/_page.html.erb +9 -3
- data/lib/dvl-kaminari-views/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8add2ce97cc2bfe5535882823adad5e485fc094
|
4
|
+
data.tar.gz: 35990471c0fd087f94c107fbd2d2a6270341e83f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e0e50c31bead380540dc3e5698236cf09d7eed22f15ecf3408667e3fe54a4ad75745bbc5d8ac57ebc7d8193efd8adddb7c6d5fd3190bcdc83ad21648e05ee3
|
7
|
+
data.tar.gz: dddc77a4eb5b4cca153b63fdad53b4f8080d1f2a2a8d410516c83cef730bb6fdc88e8a0230789c861e8af9c2cf5a59d580cbd8f6c9ee8de5dabc4f146b273133
|
@@ -1,3 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
<% if page.current? %>
|
2
|
+
<li class='active'>
|
3
|
+
<span><%= page %></span>
|
4
|
+
</li>
|
5
|
+
<% else %>
|
6
|
+
<li>
|
7
|
+
<%= link_to page, url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
|
8
|
+
</li>
|
9
|
+
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dvl-kaminari-views
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Becker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kaminari
|