enju_circulation 0.1.0.pre → 0.1.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/checked_items/_checked_item.html.erb +1 -1
- data/app/views/checked_items/_checkout.html.erb +1 -1
- data/app/views/checkins/_checkin.html.erb +1 -1
- data/app/views/checkouts/_list.html.erb +1 -1
- data/app/views/checkouts/edit.html.erb +1 -1
- data/app/views/checkouts/show.html.erb +1 -1
- data/app/views/lending_policies/show.html.erb +1 -1
- data/app/views/reserves/index.html.erb +1 -1
- data/app/views/reserves/show.html.erb +1 -1
- data/lib/enju_circulation/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/_aj.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_aj.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_aj.fnm +6 -0
- data/spec/dummy/solr/data/test/index/_aj.frq +1 -0
- data/spec/dummy/solr/data/test/index/_aj.nrm +1 -0
- data/spec/dummy/solr/data/test/index/_aj.prx +0 -0
- data/spec/dummy/solr/data/test/index/_aj.tii +0 -0
- data/spec/dummy/solr/data/test/index/_aj.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_m7 +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- metadata +20 -4
- data/spec/dummy/solr/data/test/index/segments_1 +0 -0
@@ -12,7 +12,7 @@
|
|
12
12
|
<%= render 'manifestations/show_index', :manifestation => checked_item.item.manifestation -%>
|
13
13
|
</td>
|
14
14
|
<td><%= link_to checked_item.item.item_identifier, checked_item.item -%></td>
|
15
|
-
<td><%= l(checked_item.due_date, :
|
15
|
+
<td><%= l(checked_item.due_date, :format => :only_date) -%></td>
|
16
16
|
<td><%= link_to t('page.destroy'), checked_item, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
|
17
17
|
</tr>
|
18
18
|
<%- end -%>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<%= render 'manifestations/holding', :manifestation => checkout.item.manifestation -%>
|
15
15
|
</td>
|
16
16
|
<td><%= link_to checkout.item.item_identifier, checkout.item -%></td>
|
17
|
-
<td><%= l(checkout.due_date, :
|
17
|
+
<td><%= l(checkout.due_date, :format => :only_date) -%></td>
|
18
18
|
</tr>
|
19
19
|
<%- end -%>
|
20
20
|
</table>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
(<%= link_to checkout.item.item_identifier, checkout.item -%>)
|
22
22
|
</td>
|
23
23
|
<td>
|
24
|
-
<%= l(checkout.due_date, :
|
24
|
+
<%= l(checkout.due_date, :format => :only_date) -%>
|
25
25
|
<br />
|
26
26
|
<% if checkout.checkin %>
|
27
27
|
<strong><%= t('checkout.returned') %></strong>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<h3><%= t('checkout.renewal') -%></h3>
|
8
8
|
<%- if @checkout.checkout_renewable? -%>
|
9
9
|
<%= form_for(@checkout) do |f| -%>
|
10
|
-
<%= t('checkout.new_due_date') -%>: <%= l(@new_due_date, :
|
10
|
+
<%= t('checkout.new_due_date') -%>: <%= l(@new_due_date, :format => :only_date) if @new_due_date -%>
|
11
11
|
<%= f.hidden_field :due_date, :value => @new_due_date -%>
|
12
12
|
<br />
|
13
13
|
<%= f.submit %>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
</p>
|
11
11
|
<p>
|
12
12
|
<strong><%= t('activerecord.attributes.checkout.due_date') -%></strong><br />
|
13
|
-
<%= l(@checkout.due_date, :
|
13
|
+
<%= l(@checkout.due_date, :format => :only_date) if @checkout.due_date -%>
|
14
14
|
</p>
|
15
15
|
<%- if can? :destroy, @checkout -%>
|
16
16
|
<p>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
<p>
|
23
23
|
<strong><%= t('activerecord.attributes.lending_policy.fixed_due_date') -%>:</strong>
|
24
|
-
<%= l(@lending_policy.fixed_due_date, :
|
24
|
+
<%= l(@lending_policy.fixed_due_date, :format => :only_date) if @lending_policy.fixed_due_date -%>
|
25
25
|
</p>
|
26
26
|
|
27
27
|
<p>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<%= render 'title', :reserve => reserve -%>
|
23
23
|
</td>
|
24
24
|
<td><%= i18n_state(reserve.state) -%></td>
|
25
|
-
<td><%= l(reserve.expired_at, :
|
25
|
+
<td><%= l(reserve.expired_at, :format => :only_date) -%></td>
|
26
26
|
<%- if can? :destroy, reserve -%>
|
27
27
|
<td>
|
28
28
|
<%= link_to t('page.edit'), edit_reserve_path(reserve) -%>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
|
34
34
|
<p>
|
35
35
|
<strong><%= t('activerecord.attributes.reserve.expired_at') -%>:</strong>
|
36
|
-
<%= l(@reserve.expired_at, :
|
36
|
+
<%= l(@reserve.expired_at, :format => :only_date) if @reserve.expired_at -%>
|
37
37
|
</p>
|
38
38
|
|
39
39
|
<p>
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
NRM�
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_circulation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre2
|
5
5
|
prerelease: 6
|
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-07-
|
12
|
+
date: 2012-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -634,8 +634,16 @@ files:
|
|
634
634
|
- spec/dummy/solr/conf/spellings.txt
|
635
635
|
- spec/dummy/solr/conf/stopwords.txt
|
636
636
|
- spec/dummy/solr/conf/synonyms.txt
|
637
|
+
- spec/dummy/solr/data/test/index/_aj.fdt
|
638
|
+
- spec/dummy/solr/data/test/index/_aj.fdx
|
639
|
+
- spec/dummy/solr/data/test/index/_aj.fnm
|
640
|
+
- spec/dummy/solr/data/test/index/_aj.frq
|
641
|
+
- spec/dummy/solr/data/test/index/_aj.nrm
|
642
|
+
- spec/dummy/solr/data/test/index/_aj.prx
|
643
|
+
- spec/dummy/solr/data/test/index/_aj.tii
|
644
|
+
- spec/dummy/solr/data/test/index/_aj.tis
|
637
645
|
- spec/dummy/solr/data/test/index/segments.gen
|
638
|
-
- spec/dummy/solr/data/test/index/
|
646
|
+
- spec/dummy/solr/data/test/index/segments_m7
|
639
647
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
640
648
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
641
649
|
- spec/factories/basket.rb
|
@@ -896,8 +904,16 @@ test_files:
|
|
896
904
|
- spec/dummy/solr/conf/spellings.txt
|
897
905
|
- spec/dummy/solr/conf/stopwords.txt
|
898
906
|
- spec/dummy/solr/conf/synonyms.txt
|
907
|
+
- spec/dummy/solr/data/test/index/_aj.fdt
|
908
|
+
- spec/dummy/solr/data/test/index/_aj.fdx
|
909
|
+
- spec/dummy/solr/data/test/index/_aj.fnm
|
910
|
+
- spec/dummy/solr/data/test/index/_aj.frq
|
911
|
+
- spec/dummy/solr/data/test/index/_aj.nrm
|
912
|
+
- spec/dummy/solr/data/test/index/_aj.prx
|
913
|
+
- spec/dummy/solr/data/test/index/_aj.tii
|
914
|
+
- spec/dummy/solr/data/test/index/_aj.tis
|
899
915
|
- spec/dummy/solr/data/test/index/segments.gen
|
900
|
-
- spec/dummy/solr/data/test/index/
|
916
|
+
- spec/dummy/solr/data/test/index/segments_m7
|
901
917
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
902
918
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
903
919
|
- spec/factories/basket.rb
|
Binary file
|