enju_ndl 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/ndl_books_helper.rb +2 -2
- data/app/views/ndl_books/index.html.erb +1 -1
- data/config/locales/en.yml +2 -1
- data/config/locales/ja.yml +2 -0
- data/lib/enju_ndl/version.rb +1 -1
- metadata +2 -2
@@ -6,9 +6,9 @@ module NdlBooksHelper
|
|
6
6
|
else
|
7
7
|
manifestation = Manifestation.where(:nbn => nbn).first
|
8
8
|
unless manifestation
|
9
|
-
link_to '
|
9
|
+
link_to t('enju_ndl.add'), ndl_books_path(:book => {:nbn => nbn}), :method => :post
|
10
10
|
else
|
11
|
-
'
|
11
|
+
link_to t('enju_ndl.already_exists'), manifestation
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<br />
|
29
29
|
<%= book.xpath('./dc:creator').collect(&:content).join(' ') %>
|
30
30
|
<%= book.xpath('./dc:publisher').collect(&:content).join(' ') %>
|
31
|
-
(<%=
|
31
|
+
(<%= book.at('./dcterms:issued[@xsi:type="dcterms:W3CDTF"]').try(:content) %>,
|
32
32
|
ISBN: <%= book.at('./dc:identifier[@xsi:type="dcndl:ISBN"]').try(:content).to_s %>)
|
33
33
|
</td>
|
34
34
|
</tr>
|
data/config/locales/en.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/lib/enju_ndl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_ndl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|