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: 3da003e4bb194a593cf59bab53a61aef2e5ab339
4
- data.tar.gz: 3ba41854662f853461bbee2b849d7a95e1bf47b8
3
+ metadata.gz: 420146237b4ee065377d6d04b4d80a5b80da822d
4
+ data.tar.gz: 937a5994763dc2ea8563525ec7b2a1050a66bfc7
5
5
  SHA512:
6
- metadata.gz: 950ce06cc8b8178d398e1f95b69178a18e83699f462b65a2a9abe7e44232f9509cdd787d289a920096c0dd9e5c00cda15d0ba438640ff5f3d799a700a7728940
7
- data.tar.gz: 1bcdf59c2be14d68477ac56e6c3f55baf4aea38bb406f17eef95531e414050f1b624a509eda2d6abc7b437307967e64e91d2a75945a4e7f24d39d08fe73b3b53
6
+ metadata.gz: d68d8ecd5b4b97d2c7cd5ded4b3a4beb8414cbdf3e930d671520f147dea668dc8fc8e1398af5c636fd343cc708825de892700e128849d2ac7f402c7e6f5f05e3
7
+ data.tar.gz: b4f0a86ff49946e88f4c7fe4cc33be5dd24d0171809b61a7c6a2b4428589db9c406c2e4e4d7e9bdbe5d386a64cb3f0e9d7ceec1d120dbfbef3268fd9430a1b76
@@ -1,4 +1,8 @@
1
- <%= render 'manifestations/paginate_id_store' %>
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(<%= @manifestation.id %>, ids);
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
  };
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe