enju_circulation 0.1.0.pre35 → 0.1.0.pre36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/manifestation_checkout_stats_controller.rb +3 -0
- data/app/controllers/manifestation_reserve_stats_controller.rb +3 -0
- data/app/controllers/user_checkout_stats_controller.rb +3 -0
- data/app/controllers/user_reserve_stats_controller.rb +3 -0
- data/app/models/manifestation_checkout_stat.rb +22 -12
- data/app/models/manifestation_checkout_stat_state_machine.rb +18 -0
- data/app/models/manifestation_checkout_stat_transition.rb +7 -0
- data/app/models/manifestation_reserve_stat.rb +22 -12
- data/app/models/manifestation_reserve_stat_state_machine.rb +18 -0
- data/app/models/manifestation_reserve_stat_transition.rb +7 -0
- data/app/models/user_checkout_stat.rb +23 -13
- data/app/models/user_checkout_stat_state_machine.rb +18 -0
- data/app/models/user_checkout_stat_transition.rb +7 -0
- data/app/models/user_reserve_stat.rb +23 -13
- data/app/models/user_reserve_stat_state_machine.rb +18 -0
- data/app/models/user_reserve_stat_transition.rb +7 -0
- data/app/views/carrier_type_has_checkout_types/edit.html.erb +2 -2
- data/app/views/carrier_type_has_checkout_types/index.html.erb +12 -5
- data/app/views/carrier_type_has_checkout_types/new.html.erb +2 -2
- data/app/views/carrier_type_has_checkout_types/show.html.erb +5 -3
- data/app/views/checked_items/index.html.erb +2 -2
- data/app/views/checked_items/new.html.erb +2 -2
- data/app/views/checked_items/show.html.erb +2 -2
- data/app/views/checkins/edit.html.erb +2 -2
- data/app/views/checkins/index.html.erb +2 -2
- data/app/views/checkins/new.html.erb +2 -2
- data/app/views/checkins/show.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/edit.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/index.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/new.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/show.html.erb +2 -2
- data/app/views/checkout_stat_has_users/edit.html.erb +2 -2
- data/app/views/checkout_stat_has_users/index.html.erb +2 -2
- data/app/views/checkout_stat_has_users/new.html.erb +2 -2
- data/app/views/checkout_stat_has_users/show.html.erb +2 -2
- data/app/views/checkout_types/edit.html.erb +2 -2
- data/app/views/checkout_types/index.html.erb +2 -2
- data/app/views/checkout_types/new.html.erb +2 -2
- data/app/views/checkout_types/show.html.erb +2 -2
- data/app/views/checkouts/_index.html.erb +2 -2
- data/app/views/checkouts/_index_item.html.erb +2 -2
- data/app/views/checkouts/_index_overdue.html.erb +2 -2
- data/app/views/checkouts/_index_user.html.erb +2 -2
- data/app/views/checkouts/edit.html.erb +2 -2
- data/app/views/checkouts/show.html.erb +2 -2
- data/app/views/circulation_statuses/edit.html.erb +2 -2
- data/app/views/circulation_statuses/index.html.erb +2 -2
- data/app/views/circulation_statuses/new.html.erb +2 -2
- data/app/views/circulation_statuses/show.html.erb +2 -2
- data/app/views/item_has_use_restrictions/show.html.erb +2 -2
- data/app/views/lending_policies/edit.html.erb +2 -2
- data/app/views/lending_policies/index.html.erb +2 -2
- data/app/views/lending_policies/new.html.erb +2 -2
- data/app/views/lending_policies/show.html.erb +2 -2
- data/app/views/manifestation_checkout_stats/_form.html.erb +2 -1
- data/app/views/manifestation_checkout_stats/edit.html.erb +2 -2
- data/app/views/manifestation_checkout_stats/index.html.erb +3 -3
- data/app/views/manifestation_checkout_stats/new.html.erb +2 -2
- data/app/views/manifestation_checkout_stats/show.html.erb +5 -3
- data/app/views/manifestation_reserve_stats/_form.html.erb +2 -1
- data/app/views/manifestation_reserve_stats/edit.html.erb +2 -2
- data/app/views/manifestation_reserve_stats/index.html.erb +3 -3
- data/app/views/manifestation_reserve_stats/new.html.erb +2 -2
- data/app/views/manifestation_reserve_stats/show.html.erb +5 -3
- data/app/views/reserve_stat_has_manifestations/edit.html.erb +2 -2
- data/app/views/reserve_stat_has_manifestations/index.html.erb +2 -2
- data/app/views/reserve_stat_has_manifestations/new.html.erb +2 -2
- data/app/views/reserve_stat_has_manifestations/show.html.erb +2 -2
- data/app/views/reserve_stat_has_users/edit.html.erb +2 -2
- data/app/views/reserve_stat_has_users/index.html.erb +2 -2
- data/app/views/reserve_stat_has_users/new.html.erb +2 -2
- data/app/views/reserve_stat_has_users/show.html.erb +2 -2
- data/app/views/reserves/_new.html.erb +2 -2
- data/app/views/reserves/_new_user.html.erb +2 -2
- data/app/views/reserves/edit.html.erb +2 -2
- data/app/views/reserves/index.html.erb +3 -3
- data/app/views/reserves/show.html.erb +2 -2
- data/app/views/use_restrictions/edit.html.erb +2 -2
- data/app/views/use_restrictions/index.html.erb +2 -2
- data/app/views/use_restrictions/new.html.erb +2 -2
- data/app/views/use_restrictions/show.html.erb +2 -2
- data/app/views/user_checkout_stats/_form.html.erb +2 -1
- data/app/views/user_checkout_stats/edit.html.erb +2 -2
- data/app/views/user_checkout_stats/index.html.erb +3 -3
- data/app/views/user_checkout_stats/new.html.erb +2 -2
- data/app/views/user_checkout_stats/show.html.erb +5 -3
- data/app/views/user_group_has_checkout_types/edit.html.erb +2 -2
- data/app/views/user_group_has_checkout_types/index.html.erb +11 -5
- data/app/views/user_group_has_checkout_types/new.html.erb +2 -2
- data/app/views/user_group_has_checkout_types/show.html.erb +5 -3
- data/app/views/user_reserve_stats/_form.html.erb +2 -1
- data/app/views/user_reserve_stats/edit.html.erb +2 -2
- data/app/views/user_reserve_stats/index.html.erb +3 -3
- data/app/views/user_reserve_stats/new.html.erb +2 -2
- data/app/views/user_reserve_stats/show.html.erb +5 -3
- data/app/workers/manifestation_checkout_stat_queue.rb +7 -0
- data/app/workers/manifestation_reserve_stat_queue.rb +7 -0
- data/app/workers/user_checkout_stat_queue.rb +7 -0
- data/app/workers/user_reserve_stat_queue.rb +7 -0
- data/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +14 -0
- data/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +14 -0
- data/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +14 -0
- data/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +14 -0
- data/lib/enju_circulation/engine.rb +1 -0
- data/lib/enju_circulation/version.rb +1 -1
- data/lib/generators/enju_circulation/setup/setup_generator.rb +7 -0
- data/lib/generators/enju_circulation/setup/templates/config/schedule.rb +0 -4
- data/spec/controllers/checked_items_controller_spec.rb +7 -7
- data/spec/controllers/checkins_controller_spec.rb +3 -3
- data/spec/controllers/checkouts_controller_spec.rb +4 -4
- data/spec/controllers/reserves_controller_spec.rb +5 -5
- data/spec/dummy/config/initializers/statesman.rb +3 -0
- data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
- data/spec/dummy/db/schema.rb +50 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/models/checked_item_spec.rb +1 -1
- data/spec/models/checkout_spec.rb +5 -5
- data/spec/models/manifestation_checkout_stat_spec.rb +5 -1
- data/spec/models/manifestation_reserve_stat_spec.rb +5 -1
- data/spec/models/reserve_spec.rb +11 -11
- data/spec/models/user_checkout_stat_spec.rb +5 -1
- data/spec/models/user_group_has_checkout_type_spec.rb +2 -2
- data/spec/models/user_reserve_stat_spec.rb +5 -1
- data/spec/spec_helper.rb +3 -0
- data/spec/support/resque.rb +30 -0
- metadata +74 -120
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/solr/conf/admin-extra.html +0 -31
- data/spec/dummy/solr/conf/elevate.xml +0 -36
- data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +0 -246
- data/spec/dummy/solr/conf/protwords.txt +0 -21
- data/spec/dummy/solr/conf/schema.xml +0 -255
- data/spec/dummy/solr/conf/scripts.conf +0 -24
- data/spec/dummy/solr/conf/solrconfig.xml +0 -667
- data/spec/dummy/solr/conf/spellings.txt +0 -2
- data/spec/dummy/solr/conf/stopwords.txt +0 -58
- data/spec/dummy/solr/conf/synonyms.txt +0 -31
- data/spec/dummy/solr/default/data/index/_6ox.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.si +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_ajk +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013653 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013654 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013655 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013656 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013657 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013658 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013659 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013660 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013661 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013662 +0 -0
- data/spec/dummy/solr/development/data/index/segments.gen +0 -0
- data/spec/dummy/solr/development/data/index/segments_1 +0 -0
- data/spec/dummy/solr/solr.xml +0 -8
- data/spec/dummy/solr/test/data/index/segments.gen +0 -0
- data/spec/dummy/solr/test/data/index/segments_1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1572dfd6f1e555f4be1aa60ddc3cb0c0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2ffe508d0533d0afd2a37bb574eda40d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/49d32c13d390c1b80d8b2705aac86579 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4aa18096a209e515f5f1df487622cdf4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fcdd2234a7c25f9d4179ca12fd9f7b4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa2e1ada35daa496bb08e85fcb817536 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c1ab0ecf3cf57db41d9e4cd9306d8829 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e9738177de2083b68d42e053a1529244 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e9ce2df3f0160329df69b22a911dbd04 +0 -0
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.checkout_stat_has_manifestation')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), checkout_stat_has_manifestations_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.checkout_stat_has_manifestation')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
</div>
|
21
21
|
</div>
|
22
22
|
|
23
|
-
<div id="submenu" class="ui-corner-all">
|
23
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
24
24
|
<ul>
|
25
25
|
<li><%= link_to t('page.edit'), edit_checkout_stat_has_manifestation_path(@checkout_stat_has_manifestation) -%></li>
|
26
26
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.checkout_stat_has_user')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @checkout_stat_has_user -%></li>
|
11
11
|
<li><%= link_to t('page.back'), checkout_stat_has_users_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checkout_stat_has_user')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
</div>
|
27
27
|
</div>
|
28
28
|
|
29
|
-
<div id="submenu" class="ui-corner-all">
|
29
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
30
30
|
<ul>
|
31
31
|
<li><%= link_to t('page.new', :model => t('activerecord.models.checkout_stat_has_user')), new_checkout_stat_has_user_path -%></li>
|
32
32
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.checkout_stat_has_user')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), checkout_stat_has_users_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.checkout_stat_has_user')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
</div>
|
21
21
|
</div>
|
22
22
|
|
23
|
-
<div id="submenu" class="ui-corner-all">
|
23
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
24
24
|
<ul>
|
25
25
|
<li><%= link_to t('page.edit'), edit_checkout_stat_has_user_path(@checkout_stat_has_user) -%></li>
|
26
26
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.checkout_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @checkout_type -%></li>
|
11
11
|
<li><%= link_to t('page.back'), checkout_types_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checkout_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -37,7 +37,7 @@
|
|
37
37
|
</div>
|
38
38
|
</div>
|
39
39
|
|
40
|
-
<div id="submenu" class="ui-corner-all">
|
40
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
41
41
|
<ul>
|
42
42
|
<%- if @user_group -%>
|
43
43
|
<li><%= link_to t('page.new', :model => t('activerecord.models.user_group_has_checkout_type')), new_user_group_user_group_has_checkout_type_path(@user_group) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.checkout_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), checkout_types_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.checkout_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
</div>
|
30
30
|
</div>
|
31
31
|
|
32
|
-
<div id="submenu" class="ui-corner-all">
|
32
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
33
33
|
<ul>
|
34
34
|
<li><%= link_to t('page.edit'), edit_checkout_type_path(@checkout_type) -%></li>
|
35
35
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checkout')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
</div>
|
12
12
|
</div>
|
13
13
|
|
14
|
-
<div id="submenu" class="ui-corner-all">
|
14
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
15
15
|
<ul>
|
16
16
|
<li><%= link_to t('checkout.my_checkout'), user_checkouts_path(current_user) -%></li>
|
17
17
|
<li><%= link_to t('page.overdue'), checkouts_path(:view => 'overdue') -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checkout')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
</div>
|
16
16
|
</div>
|
17
17
|
|
18
|
-
<div id="submenu" class="ui-corner-all">
|
18
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
19
19
|
<ul>
|
20
20
|
<li>
|
21
21
|
<%= link_to 'RSS', item_checkouts_path(item, :format => :rss) -%>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('checkout.listing_overdue_item') -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
</div>
|
21
21
|
</div>
|
22
22
|
|
23
|
-
<div id="submenu" class="ui-corner-all">
|
23
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
24
24
|
<ul>
|
25
25
|
<li><%= link_to t('page.back_to', :model => t('activerecord.models.checkout')), checkouts_path -%></li>
|
26
26
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checkout')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
</div>
|
12
12
|
</div>
|
13
13
|
|
14
|
-
<div id="submenu" class="ui-corner-all">
|
14
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
15
15
|
<ul>
|
16
16
|
<%- user.user_group.user_group_has_checkout_types.each do |available_checkout_type| -%>
|
17
17
|
<li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.checkout')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
</div>
|
41
41
|
</div>
|
42
42
|
|
43
|
-
<div id="submenu" class="ui-corner-all">
|
43
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
44
44
|
<%= render 'manifestations/book_jacket', :manifestation => @checkout.item.manifestation if @checkout.item -%>
|
45
45
|
<ul>
|
46
46
|
<li><%= link_to t('page.show'), @checkout -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.checkout')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
|
-
<div id="submenu" class="ui-corner-all">
|
24
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
25
25
|
<%= render 'manifestations/book_jacket', :manifestation => @checkout.item.manifestation -%>
|
26
26
|
<ul>
|
27
27
|
<li><%= link_to t('page.edit'), edit_checkout_path(@checkout) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.circulation_status')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @circulation_status -%></li>
|
11
11
|
<li><%= link_to t('page.back'), circulation_statuses_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.circulation_status')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</div>
|
35
35
|
</div>
|
36
36
|
|
37
|
-
<div id="submenu" class="ui-corner-all">
|
37
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
38
38
|
<ul>
|
39
39
|
<%- if can? :create, CirculationStatus -%>
|
40
40
|
<li><%= link_to t('page.new', :model => t('activerecord.models.circulation_status')), new_circulation_status_path -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.circulation_status')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), circulation_statuses_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.circulation_status')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
|
-
<div id="submenu" class="ui-corner-all">
|
24
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
25
25
|
<ul>
|
26
26
|
<li><%= link_to t('page.edit'), edit_circulation_status_path(@circulation_status) -%></li>
|
27
27
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.item_has_use_restriction')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
|
-
<div id="submenu" class="ui-corner-all">
|
24
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
25
25
|
<ul>
|
26
26
|
<li><%= link_to t('page.edit'), edit_item_has_use_restriction_path(@item_has_use_restriction) -%></li>
|
27
27
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.lending_policy')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @lending_policy -%></li>
|
11
11
|
<li><%= link_to t('page.back'), lending_policies_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.lending_policy')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -38,5 +38,5 @@
|
|
38
38
|
</div>
|
39
39
|
</div>
|
40
40
|
|
41
|
-
<div id="submenu" class="ui-corner-all">
|
41
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
42
42
|
</div>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.lending_policy')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), lending_policies_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.lending_policy')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
</div>
|
43
43
|
</div>
|
44
44
|
|
45
|
-
<div id="submenu" class="ui-corner-all">
|
45
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
46
46
|
<ul>
|
47
47
|
<li><%= link_to t('page.edit'), edit_lending_policy_path(@lending_policy) -%></li>
|
48
48
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.manifestation_checkout_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @manifestation_checkout_stat -%></li>
|
11
11
|
<li><%= link_to t('page.back'), manifestation_checkout_stats_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.manifestation_checkout_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<tr class="line<%= cycle("0", "1") -%>">
|
15
15
|
<td><%= l(manifestation_checkout_stat.start_date) -%></td>
|
16
16
|
<td><%= l(manifestation_checkout_stat.end_date) -%></td>
|
17
|
-
<td><%= manifestation_checkout_stat.
|
17
|
+
<td><%= localized_state(manifestation_checkout_stat.current_state) -%></td>
|
18
18
|
<td>
|
19
19
|
<%= link_to t('page.show'), manifestation_checkout_stat -%>
|
20
20
|
<%= link_to t('page.edit'), edit_manifestation_checkout_stat_path(manifestation_checkout_stat) -%>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
|
31
|
-
<div id="submenu" class="ui-corner-all">
|
31
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
32
32
|
<ul>
|
33
33
|
<li><%= link_to t('page.new', :model => t('activerecord.models.manifestation_checkout_stat')), new_manifestation_checkout_stat_path -%></li>
|
34
34
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.manifestation_checkout_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), manifestation_checkout_stats_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.manifestation_checkout_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<p>
|
17
17
|
<strong><%= t('activerecord.attributes.manifestation_checkout_stat.state') -%>:</strong>
|
18
|
-
<%= @manifestation_checkout_stat.
|
18
|
+
<%= localized_state(@manifestation_checkout_stat.current_state) -%>
|
19
19
|
</p>
|
20
20
|
|
21
21
|
<p>
|
@@ -43,11 +43,13 @@
|
|
43
43
|
</div>
|
44
44
|
</div>
|
45
45
|
|
46
|
-
<div id="submenu" class="ui-corner-all">
|
46
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
47
|
+
<%= form_for(@manifestation_checkout_stat) do |f| %>
|
47
48
|
<ul>
|
48
49
|
<li><%= link_to t('page.edit'), edit_manifestation_checkout_stat_path(@manifestation_checkout_stat) -%></li>
|
49
50
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
50
51
|
</ul>
|
52
|
+
<% end %>
|
51
53
|
<h4><%= t('page.export') -%></h4>
|
52
54
|
<ul>
|
53
55
|
<li><%= link_to 'CSV', manifestation_checkout_stat_path(@manifestation_checkout_stat, :format => :csv, :locale => @locale.to_s) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.manifestation_reserve_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @manifestation_reserve_stat -%></li>
|
11
11
|
<li><%= link_to t('page.back'), manifestation_reserve_stats_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.manifestation_reserve_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<tr class="line<%= cycle("0", "1") -%>">
|
15
15
|
<td><%= l(manifestation_reserve_stat.start_date) -%></td>
|
16
16
|
<td><%= l(manifestation_reserve_stat.end_date) -%></td>
|
17
|
-
<td><%= manifestation_reserve_stat.
|
17
|
+
<td><%= localized_state(manifestation_reserve_stat.current_state) -%></td>
|
18
18
|
<td>
|
19
19
|
<%= link_to t('page.show'), manifestation_reserve_stat -%>
|
20
20
|
<%= link_to t('page.edit'), edit_manifestation_reserve_stat_path(manifestation_reserve_stat) -%>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
|
31
|
-
<div id="submenu" class="ui-corner-all">
|
31
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
32
32
|
<ul>
|
33
33
|
<li><%= link_to t('page.new', :model => t('activerecord.models.manifestation_reserve_stat')), new_manifestation_reserve_stat_path -%></li>
|
34
34
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.manifestation_reserve_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), manifestation_reserve_stats_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.manifestation_reserve_stat')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<p>
|
17
17
|
<strong><%= t('activerecord.attributes.manifestation_reserve_stat.state') -%>:</strong>
|
18
|
-
<%= @manifestation_reserve_stat.
|
18
|
+
<%= localized_state(@manifestation_reserve_stat.current_state) -%>
|
19
19
|
</p>
|
20
20
|
|
21
21
|
<p>
|
@@ -43,11 +43,13 @@
|
|
43
43
|
</div>
|
44
44
|
</div>
|
45
45
|
|
46
|
-
<div id="submenu" class="ui-corner-all">
|
46
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
47
|
+
<%= form_for(@manifestation_reserve_stat) do |f| %>
|
47
48
|
<ul>
|
48
49
|
<li><%= link_to t('page.edit'), edit_manifestation_reserve_stat_path(@manifestation_reserve_stat) -%></li>
|
49
50
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
50
51
|
</ul>
|
52
|
+
<% end %>
|
51
53
|
<h4><%= t('page.export') -%></h4>
|
52
54
|
<ul>
|
53
55
|
<li><%= link_to 'CSV', manifestation_reserve_stat_path(@manifestation_reserve_stat, :format => :csv, :locale => @locale.to_s) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.reserve_stat_has_manifestation')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @reserve_stat_has_manifestation -%></li>
|
11
11
|
<li><%= link_to t('page.back'), reserve_stat_has_manifestations_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('activerecord.models.reserve_stat_has_manifestation') -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
</div>
|
27
27
|
</div>
|
28
28
|
|
29
|
-
<div id="submenu" class="ui-corner-all">
|
29
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
30
30
|
<ul>
|
31
31
|
<li><%= link_to t('page.new', :model => t('activerecord.models.reserve_stat_has_manifestation')), new_reserve_stat_has_manifestation_path -%></li>
|
32
32
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.reserve_stat_has_manifestation')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), reserve_stat_has_manifestations_path -%></li>
|
11
11
|
</ul>
|