enju_biblio 0.1.0 → 0.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 420146237b4ee065377d6d04b4d80a5b80da822d
|
4
|
+
data.tar.gz: 937a5994763dc2ea8563525ec7b2a1050a66bfc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d68d8ecd5b4b97d2c7cd5ded4b3a4beb8414cbdf3e930d671520f147dea668dc8fc8e1398af5c636fd343cc708825de892700e128849d2ac7f402c7e6f5f05e3
|
7
|
+
data.tar.gz: b4f0a86ff49946e88f4c7fe4cc33be5dd24d0171809b61a7c6a2b4428589db9c406c2e4e4d7e9bdbe5d386a64cb3f0e9d7ceec1d120dbfbef3268fd9430a1b76
|
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
<% if @parent %>
|
2
|
+
<%= render 'manifestations/paginate_id_store', manifestation: @parent %>
|
3
|
+
<% elsif @manifestation %>
|
4
|
+
<%= render 'manifestations/paginate_id_store', manifestation: @manifestation %>
|
5
|
+
<% end %>
|
2
6
|
<%= form_for :manifestations, url: manifestations_path, html: {method: 'get'} do -%>
|
3
7
|
<div>
|
4
8
|
<span id="next_link"><%= t('page.next') %></span>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
return;
|
6
6
|
}else{
|
7
7
|
var ids = JSON.parse(sessionStorage.getItem("<%= flash[:search_query] %>"));
|
8
|
-
var index = $.inArray(<%=
|
8
|
+
var index = $.inArray(<%= manifestation.id %>, ids);
|
9
9
|
if(ids[index - 1] > 0){
|
10
10
|
$("#prev_link").html('<a href="<%= manifestations_path %>/' + ids[index - 1] + '"><%= t('page.previous') %></a>');
|
11
11
|
};
|
data/lib/enju_biblio/version.rb
CHANGED