enju_message 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/config/locales/translation_en.yml +51 -0
- data/config/locales/translation_ja.yml +51 -0
- data/lib/enju_message/version.rb +1 -1
- data/spec/controllers/message_requests_controller_spec.rb +275 -0
- data/spec/controllers/message_templates_controller_spec.rb +443 -0
- data/spec/controllers/messages_controller_spec.rb +439 -0
- data/{test → spec}/dummy/Rakefile +0 -0
- data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
- data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
- data/spec/dummy/app/controllers/application_controller.rb +45 -0
- data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
- data/spec/dummy/app/mailers/notifier.rb +28 -0
- data/spec/dummy/app/models/ability.rb +30 -0
- data/spec/dummy/app/models/library_group.rb +86 -0
- data/spec/dummy/app/models/patron.rb +167 -0
- data/spec/dummy/app/models/patron_type.rb +19 -0
- data/spec/dummy/app/models/role.rb +8 -0
- data/spec/dummy/app/models/user.rb +53 -0
- data/spec/dummy/app/models/user_group.rb +2 -0
- data/spec/dummy/app/models/user_has_role.rb +4 -0
- data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
- data/spec/dummy/app/views/page/403.html.erb +9 -0
- data/spec/dummy/app/views/page/403.mobile.erb +5 -0
- data/spec/dummy/app/views/page/403.xml.erb +4 -0
- data/spec/dummy/app/views/page/404.html.erb +9 -0
- data/spec/dummy/app/views/page/404.mobile.erb +5 -0
- data/spec/dummy/app/views/page/404.xml.erb +4 -0
- data/{test → spec}/dummy/config/application.rb +1 -0
- data/{test → spec}/dummy/config/boot.rb +0 -0
- data/{test → spec}/dummy/config/database.yml +0 -0
- data/{test → spec}/dummy/config/environment.rb +0 -0
- data/{test → spec}/dummy/config/environments/development.rb +0 -0
- data/{test → spec}/dummy/config/environments/production.rb +0 -0
- data/{test → spec}/dummy/config/environments/test.rb +0 -0
- data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/spec/dummy/config/initializers/devise.rb +209 -0
- data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
- data/{test → spec}/dummy/config/initializers/mime_types.rb +1 -0
- data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
- data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
- data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{test → spec}/dummy/config/locales/en.yml +0 -0
- data/{test → spec}/dummy/config/routes.rb +2 -0
- data/{test → spec}/dummy/config.ru +0 -0
- data/{test/dummy/public/favicon.ico → spec/dummy/db/development.sqlite3} +0 -0
- data/spec/dummy/db/migrate/001_create_patrons.rb +62 -0
- data/spec/dummy/db/migrate/080_create_library_groups.rb +25 -0
- data/spec/dummy/db/migrate/20080905191442_create_patron_types.rb +16 -0
- data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb +21 -0
- data/spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb +11 -0
- data/spec/dummy/db/migrate/20111201121636_create_languages.rb +16 -0
- data/spec/dummy/db/migrate/20111201121844_create_roles.rb +12 -0
- data/spec/dummy/db/migrate/20111201155456_create_users.rb +14 -0
- data/spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb +31 -0
- data/spec/dummy/db/migrate/20111201163342_create_user_groups.rb +12 -0
- data/spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb +10 -0
- data/spec/dummy/db/schema.rb +225 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/enju_leaf/localized_name.rb +13 -0
- data/spec/dummy/lib/enju_leaf/master_model.rb +41 -0
- data/spec/dummy/lib/enju_leaf/url_validator.rb +10 -0
- data/spec/dummy/lib/enju_leaf.rb +4 -0
- data/spec/dummy/log/development.log +106 -0
- data/spec/dummy/log/sunspot-solr-test.log +232 -0
- data/spec/dummy/log/test.log +145040 -0
- data/{test → spec}/dummy/public/404.html +0 -0
- data/{test → spec}/dummy/public/422.html +0 -0
- data/{test → spec}/dummy/public/500.html +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/{test → spec}/dummy/script/rails +0 -0
- data/spec/dummy/solr/conf/admin-extra.html +31 -0
- data/spec/dummy/solr/conf/elevate.xml +36 -0
- data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
- data/spec/dummy/solr/conf/protwords.txt +21 -0
- data/spec/dummy/solr/conf/schema.xml +238 -0
- data/spec/dummy/solr/conf/scripts.conf +24 -0
- data/spec/dummy/solr/conf/solrconfig.xml +934 -0
- data/spec/dummy/solr/conf/spellings.txt +2 -0
- data/spec/dummy/solr/conf/stopwords.txt +58 -0
- data/spec/dummy/solr/conf/synonyms.txt +31 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_1 +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments.gen +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/factories/message.rb +8 -0
- data/spec/factories/message_request.rb +7 -0
- data/spec/factories/message_template.rb +7 -0
- data/spec/factories/user.rb +34 -0
- data/spec/fixtures/library_groups.yml +34 -0
- data/spec/fixtures/message_requests.yml +30 -0
- data/spec/fixtures/message_templates.yml +65 -0
- data/spec/fixtures/messages.yml +62 -0
- data/spec/fixtures/patrons.yml +338 -0
- data/spec/fixtures/roles.yml +21 -0
- data/spec/fixtures/user_groups.yml +25 -0
- data/spec/fixtures/user_has_roles.yml +41 -0
- data/spec/fixtures/users.yml +69 -0
- data/spec/models/message_request_spec.rb +24 -0
- data/spec/models/message_spec.rb +59 -0
- data/spec/models/message_template_spec.rb +24 -0
- data/spec/spec_helper.rb +46 -0
- data/spec/support/controller_macros.rb +48 -0
- data/spec/support/devise.rb +4 -0
- metadata +273 -220
- data/app/views/baskets/edit.html.erb +0 -30
- data/app/views/baskets/index.html.erb +0 -31
- data/app/views/baskets/new.html.erb +0 -29
- data/app/views/baskets/show.html.erb +0 -23
- data/app/views/carrier_type_has_checkout_types/_form.html.erb +0 -19
- data/app/views/carrier_type_has_checkout_types/edit.html.erb +0 -13
- data/app/views/carrier_type_has_checkout_types/index.html.erb +0 -33
- data/app/views/carrier_type_has_checkout_types/new.html.erb +0 -12
- data/app/views/carrier_type_has_checkout_types/show.html.erb +0 -29
- data/app/views/checked_items/_checkouts.html.erb +0 -20
- data/app/views/checked_items/_list.html.erb +0 -39
- data/app/views/checked_items/edit.html.erb +0 -21
- data/app/views/checked_items/index.html.erb +0 -32
- data/app/views/checked_items/index.js.erb +0 -1
- data/app/views/checked_items/new.html.erb +0 -20
- data/app/views/checked_items/show.html.erb +0 -24
- data/app/views/checkins/_form.html.erb +0 -24
- data/app/views/checkins/_list.html.erb +0 -51
- data/app/views/checkins/edit.html.erb +0 -26
- data/app/views/checkins/index.html.erb +0 -16
- data/app/views/checkins/index.js.erb +0 -1
- data/app/views/checkins/new.html.erb +0 -14
- data/app/views/checkins/show.html.erb +0 -24
- data/app/views/checkout_stat_has_manifestations/_form.html.erb +0 -15
- data/app/views/checkout_stat_has_manifestations/edit.html.erb +0 -13
- data/app/views/checkout_stat_has_manifestations/index.html.erb +0 -33
- data/app/views/checkout_stat_has_manifestations/new.html.erb +0 -12
- data/app/views/checkout_stat_has_manifestations/show.html.erb +0 -28
- data/app/views/checkout_stat_has_users/_form.html.erb +0 -15
- data/app/views/checkout_stat_has_users/edit.html.erb +0 -13
- data/app/views/checkout_stat_has_users/index.html.erb +0 -33
- data/app/views/checkout_stat_has_users/new.html.erb +0 -12
- data/app/views/checkout_stat_has_users/show.html.erb +0 -28
- data/app/views/checkout_types/_form.html.erb +0 -19
- data/app/views/checkout_types/edit.html.erb +0 -13
- data/app/views/checkout_types/index.html.erb +0 -50
- data/app/views/checkout_types/new.html.erb +0 -12
- data/app/views/checkout_types/show.html.erb +0 -38
- data/app/views/checkouts/_form.html.erb +0 -28
- data/app/views/checkouts/_index.html.erb +0 -23
- data/app/views/checkouts/_index_overdue.html.erb +0 -33
- data/app/views/checkouts/_index_user.html.erb +0 -44
- data/app/views/checkouts/_list.html.erb +0 -45
- data/app/views/checkouts/edit.html.erb +0 -51
- data/app/views/checkouts/index.atom.builder +0 -14
- data/app/views/checkouts/index.csv.erb +0 -4
- data/app/views/checkouts/index.html.erb +0 -11
- data/app/views/checkouts/index.ics.erb +0 -13
- data/app/views/checkouts/index.rss.builder +0 -38
- data/app/views/checkouts/new.html.erb +0 -20
- data/app/views/checkouts/show.html.erb +0 -35
- data/app/views/circulation_statuses/_form.html.erb +0 -19
- data/app/views/circulation_statuses/edit.html.erb +0 -13
- data/app/views/circulation_statuses/index.html.erb +0 -43
- data/app/views/circulation_statuses/new.html.erb +0 -12
- data/app/views/circulation_statuses/show.html.erb +0 -29
- data/app/views/item_has_use_restrictions/edit.html.erb +0 -27
- data/app/views/item_has_use_restrictions/index.html.erb +0 -32
- data/app/views/item_has_use_restrictions/new.html.erb +0 -25
- data/app/views/item_has_use_restrictions/show.html.erb +0 -29
- data/app/views/lending_policies/_form.html.erb +0 -41
- data/app/views/lending_policies/edit.html.erb +0 -13
- data/app/views/lending_policies/index.html.erb +0 -42
- data/app/views/lending_policies/new.html.erb +0 -12
- data/app/views/lending_policies/show.html.erb +0 -50
- data/app/views/manifestation_checkout_stats/_form.html.erb +0 -19
- data/app/views/manifestation_checkout_stats/edit.html.erb +0 -13
- data/app/views/manifestation_checkout_stats/index.html.erb +0 -35
- data/app/views/manifestation_checkout_stats/new.html.erb +0 -12
- data/app/views/manifestation_checkout_stats/show.csv.erb +0 -4
- data/app/views/manifestation_checkout_stats/show.html.erb +0 -55
- data/app/views/manifestation_reserve_stats/_form.html.erb +0 -19
- data/app/views/manifestation_reserve_stats/edit.html.erb +0 -13
- data/app/views/manifestation_reserve_stats/index.html.erb +0 -35
- data/app/views/manifestation_reserve_stats/new.html.erb +0 -12
- data/app/views/manifestation_reserve_stats/show.csv.erb +0 -4
- data/app/views/manifestation_reserve_stats/show.html.erb +0 -55
- data/app/views/reserve_stat_has_manifestations/_form.html.erb +0 -15
- data/app/views/reserve_stat_has_manifestations/edit.html.erb +0 -13
- data/app/views/reserve_stat_has_manifestations/index.html.erb +0 -33
- data/app/views/reserve_stat_has_manifestations/new.html.erb +0 -12
- data/app/views/reserve_stat_has_manifestations/show.html.erb +0 -28
- data/app/views/reserve_stat_has_users/_form.html.erb +0 -15
- data/app/views/reserve_stat_has_users/edit.html.erb +0 -13
- data/app/views/reserve_stat_has_users/index.html.erb +0 -33
- data/app/views/reserve_stat_has_users/new.html.erb +0 -12
- data/app/views/reserve_stat_has_users/show.html.erb +0 -28
- data/app/views/reserves/_form.html.erb +0 -49
- data/app/views/reserves/_new.html.erb +0 -44
- data/app/views/reserves/_new_user.html.erb +0 -50
- data/app/views/reserves/_title.html.erb +0 -19
- data/app/views/reserves/edit.html.erb +0 -42
- data/app/views/reserves/index.atom.builder +0 -14
- data/app/views/reserves/index.csv.erb +0 -4
- data/app/views/reserves/index.html.erb +0 -75
- data/app/views/reserves/index.rss.builder +0 -41
- data/app/views/reserves/new.html.erb +0 -5
- data/app/views/reserves/show.html.erb +0 -61
- data/app/views/use_restrictions/_form.html.erb +0 -19
- data/app/views/use_restrictions/edit.html.erb +0 -13
- data/app/views/use_restrictions/index.html.erb +0 -43
- data/app/views/use_restrictions/new.html.erb +0 -12
- data/app/views/use_restrictions/show.html.erb +0 -29
- data/app/views/user_checkout_stats/_form.html.erb +0 -19
- data/app/views/user_checkout_stats/edit.html.erb +0 -13
- data/app/views/user_checkout_stats/index.html.erb +0 -35
- data/app/views/user_checkout_stats/new.html.erb +0 -12
- data/app/views/user_checkout_stats/show.csv.erb +0 -4
- data/app/views/user_checkout_stats/show.html.erb +0 -55
- data/app/views/user_group_has_checkout_types/edit.html.erb +0 -63
- data/app/views/user_group_has_checkout_types/index.html.erb +0 -32
- data/app/views/user_group_has_checkout_types/new.html.erb +0 -62
- data/app/views/user_group_has_checkout_types/show.html.erb +0 -64
- data/app/views/user_reserve_stats/_form.html.erb +0 -19
- data/app/views/user_reserve_stats/edit.html.erb +0 -13
- data/app/views/user_reserve_stats/index.html.erb +0 -35
- data/app/views/user_reserve_stats/new.html.erb +0 -12
- data/app/views/user_reserve_stats/show.csv.erb +0 -4
- data/app/views/user_reserve_stats/show.html.erb +0 -54
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/enju_message_test.rb +0 -7
- data/test/integration/navigation_test.rb +0 -10
- data/test/test_helper.rb +0 -10
@@ -1,30 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.basket')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
|
5
|
-
<%= form_for(@basket) do |f| -%>
|
6
|
-
<%= f.error_messages -%>
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label t('activerecord.models.user') -%><br />
|
9
|
-
<%= @basket.user.username -%>
|
10
|
-
<%= f.hidden_field :user_id -%>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<div class="field">
|
14
|
-
<%= f.label :note -%><br />
|
15
|
-
<%= f.text_area :note, :class => 'resource_textarea' -%>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<div class="actions">
|
19
|
-
<%= f.submit %>
|
20
|
-
</div>
|
21
|
-
<%- end -%>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<div id="submenu" class="ui-corner-all">
|
26
|
-
<ul>
|
27
|
-
<li><%= link_to t('page.show'), basket_path(@basket) -%></li>
|
28
|
-
<li><%= link_to t('page.back'), user_baskets_path(@basket.user) -%></li>
|
29
|
-
</ul>
|
30
|
-
</div>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<div id="content_list">
|
2
|
-
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.basket')) -%></h1>
|
3
|
-
<div id="content_detail" class="ui-corner-all">
|
4
|
-
|
5
|
-
<table class="index">
|
6
|
-
<tr>
|
7
|
-
<th><%= t('activerecord.models.user') -%></th>
|
8
|
-
<th><%= t('activerecord.attributes.basket.note') -%></th>
|
9
|
-
<th><%= t('page.updated_at') -%></th>
|
10
|
-
</tr>
|
11
|
-
|
12
|
-
<%- @baskets.each do |basket| -%>
|
13
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
14
|
-
<td><%= basket.user.username -%></td>
|
15
|
-
<td><%= basket.note -%></td>
|
16
|
-
<td><%= basket.updated_at -%></td>
|
17
|
-
<td><%= link_to t('page.show'), basket -%></td>
|
18
|
-
</tr>
|
19
|
-
<%- end -%>
|
20
|
-
</table>
|
21
|
-
|
22
|
-
<%= will_paginate(@baskets) -%>
|
23
|
-
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<div id="submenu" class="ui-corner-all">
|
28
|
-
<ul>
|
29
|
-
<li><%= link_to t('page.new', :model => t('activerecord.models.basket')), new_basket_path -%></li>
|
30
|
-
</ul>
|
31
|
-
</div>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.basket')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
|
5
|
-
<%= form_for(@basket, :html => {:name => 'basket_form'}) do |f| -%>
|
6
|
-
<%= f.error_messages -%>
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label t('activerecord.attributes.user.user_number') -%>
|
9
|
-
<%= f.text_field :user_number, :class => 'resource_user_number' -%>
|
10
|
-
|
11
|
-
<!--
|
12
|
-
<div class="field">
|
13
|
-
<%= f.label :note -%><br />
|
14
|
-
<%= f.text_area :note, :class => 'resource_textarea' -%>
|
15
|
-
</div>
|
16
|
-
-->
|
17
|
-
<%= f.submit t('page.read') -%>
|
18
|
-
</div>
|
19
|
-
<%- end -%>
|
20
|
-
<%= javascript_tag("$('#basket_user_number').focus()") -%>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<div id="submenu" class="ui-corner-all">
|
25
|
-
<ul>
|
26
|
-
<li><%= link_to t('activerecord.models.checkin'), checkins_path -%></li>
|
27
|
-
<li><%= link_to t('page.search_resource', :model => t('activerecord.models.user')), users_path -%></li>
|
28
|
-
</ul>
|
29
|
-
</div>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<div id="content_list">
|
2
|
-
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.basket')) -%></h1>
|
3
|
-
<div id="content_detail" class="ui-corner-all">
|
4
|
-
<p id="notice"><%= notice %></p>
|
5
|
-
|
6
|
-
<p>
|
7
|
-
<strong><%= t('activerecord.models.user') -%>:</strong>
|
8
|
-
<%= @basket.user.username -%>
|
9
|
-
</p>
|
10
|
-
|
11
|
-
<p>
|
12
|
-
<strong><%= t('activerecord.attributes.basket.note') -%>:</strong>
|
13
|
-
<%= @basket.note -%>
|
14
|
-
</p>
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<div id="submenu" class="ui-corner-all">
|
19
|
-
<ul>
|
20
|
-
<li><%= link_to t('page.edit'), edit_basket_path(@basket) -%></li>
|
21
|
-
<li><%= link_to t('page.back'), user_baskets_path(@basket.user) -%></li>
|
22
|
-
</ul>
|
23
|
-
</div>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<%= form_for(@carrier_type_has_checkout_type) do |f| -%>
|
2
|
-
<%= f.error_messages -%>
|
3
|
-
|
4
|
-
<div class="field">
|
5
|
-
<%= f.label t('activerecord.models.carrier_type') -%><br />
|
6
|
-
<%= f.select(:carrier_type_id, @carrier_types.collect{|m| [m.display_name.localize, m.id]}, :include_blank => true) -%>
|
7
|
-
</div>
|
8
|
-
<div class="field">
|
9
|
-
<%= f.label t('activerecord.models.checkout_type') -%><br />
|
10
|
-
<%= f.select(:checkout_type_id, @checkout_types.collect{|c| [c.display_name.localize, c.id]}, :include_blank => true) -%>
|
11
|
-
</div>
|
12
|
-
<div class="field">
|
13
|
-
<%= f.label :note -%><br />
|
14
|
-
<%= f.text_area :note, :class => 'resource_textarea' -%>
|
15
|
-
</div>
|
16
|
-
<div class="actions">
|
17
|
-
<%= f.submit %>
|
18
|
-
</div>
|
19
|
-
<%- end -%>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.carrier_type_has_checkout_type')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<%= render 'form' %>
|
5
|
-
</div>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
9
|
-
<ul>
|
10
|
-
<li><%= link_to t('page.show'), @carrier_type_has_checkout_type -%></li>
|
11
|
-
<li><%= link_to t('page.back'), carrier_type_has_checkout_types_path -%></li>
|
12
|
-
</ul>
|
13
|
-
</div>
|
@@ -1,33 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.carrier_type_has_checkout_type')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
|
5
|
-
<table class="index">
|
6
|
-
<tr>
|
7
|
-
<th><%= t('activerecord.models.carrier_type') -%></th>
|
8
|
-
<th><%= t('activerecord.models.checkout_type') -%></th>
|
9
|
-
<th><%= t('activerecord.attributes.carrier_type_has_checkout_type.note') -%></th>
|
10
|
-
<th></th>
|
11
|
-
</tr>
|
12
|
-
|
13
|
-
<%- @carrier_type_has_checkout_types.each do |carrier_type_has_checkout_type| -%>
|
14
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
15
|
-
<td><%= link_to carrier_type_has_checkout_type.carrier_type.display_name.localize, carrier_type_has_checkout_type.carrier_type -%></td>
|
16
|
-
<td><%= link_to carrier_type_has_checkout_type.checkout_type.display_name.localize, carrier_type_has_checkout_type.checkout_type -%></td>
|
17
|
-
<td><%= carrier_type_has_checkout_type.note -%></td>
|
18
|
-
<td>
|
19
|
-
<%= link_to t('page.edit'), edit_carrier_type_has_checkout_type_path(carrier_type_has_checkout_type) -%>
|
20
|
-
<%= link_to t('page.destroy'), carrier_type_has_checkout_type, :confirm => t('page.are_you_sure'), :method => :delete -%>
|
21
|
-
</td>
|
22
|
-
</tr>
|
23
|
-
<%- end -%>
|
24
|
-
</table>
|
25
|
-
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<div id="submenu" class="ui-corner-all">
|
30
|
-
<ul>
|
31
|
-
<li><%= link_to t('page.new', :model => t('activerecord.models.carrier_type_has_checkout_type')), new_carrier_type_has_checkout_type_path -%></li>
|
32
|
-
</ul>
|
33
|
-
</div>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.carrier_type_has_checkout_type')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<%= render 'form' %>
|
5
|
-
</div>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
9
|
-
<ul>
|
10
|
-
<li><%= link_to t('page.back'), carrier_type_has_checkout_types_path -%></li>
|
11
|
-
</ul>
|
12
|
-
</div>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.carrier_type_has_checkout_type')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<p id="notice"><%= notice %></p>
|
5
|
-
|
6
|
-
<p>
|
7
|
-
<strong><%= t('activerecord.models.carrier_type') -%>:</strong>
|
8
|
-
<%= link_to @carrier_type_has_checkout_type.carrier_type.display_name.localize, @carrier_type_has_checkout_type.carrier_type -%>
|
9
|
-
</p>
|
10
|
-
|
11
|
-
<p>
|
12
|
-
<strong><%= t('activerecord.models.checkout_type') -%>:</strong>
|
13
|
-
<%= link_to @carrier_type_has_checkout_type.checkout_type.display_name.localize, @carrier_type_has_checkout_type.checkout_type -%>
|
14
|
-
</p>
|
15
|
-
|
16
|
-
<p>
|
17
|
-
<strong><%= t('activerecord.attributes.carrier_type_has_checkout_type.note') -%>:</strong>
|
18
|
-
<%= @carrier_type_has_checkout_type.note -%>
|
19
|
-
</p>
|
20
|
-
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<div id="submenu" class="ui-corner-all">
|
25
|
-
<ul>
|
26
|
-
<li><%= link_to t('page.edit'), edit_carrier_type_has_checkout_type_path(@carrier_type_has_checkout_type) -%></li>
|
27
|
-
<li><%= back_to_index(flash[:page_info]) -%></li>
|
28
|
-
</ul>
|
29
|
-
</div>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<h3><%= t('checked_item.previous_checkout') -%></h3>
|
2
|
-
|
3
|
-
<table class="index">
|
4
|
-
<tr>
|
5
|
-
<th class="checked_item_title"><%= t('page.title') -%></th>
|
6
|
-
<th><%= t('activerecord.attributes.item.item_identifier') -%></th>
|
7
|
-
<th><%= t('activerecord.attributes.checkout.due_date') -%></th>
|
8
|
-
</tr>
|
9
|
-
|
10
|
-
<%- @basket.user.checkouts.not_returned.each_with_index do |checkout, i| -%>
|
11
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
12
|
-
<td>
|
13
|
-
<%= render 'manifestations/show_index', :manifestation => checkout.item.manifestation -%>
|
14
|
-
<%= render 'manifestations/holding', :manifestation => checkout.item.manifestation -%>
|
15
|
-
</td>
|
16
|
-
<td><%= link_to checkout.item.item_identifier, checkout.item -%></td>
|
17
|
-
<td><%= l(checkout.due_date, :format => :only_date) -%></td>
|
18
|
-
</tr>
|
19
|
-
<%- end -%>
|
20
|
-
</table>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<div style="color: red"><%= flash[:message].try(:join) -%></div>
|
2
|
-
|
3
|
-
<div class="search_form">
|
4
|
-
<%= form_for :checked_item, :html => {:method => :post}, :url => basket_checked_items_path(@basket, :mode => 'list'), :remote => true do |f| -%>
|
5
|
-
<%= f.error_messages -%>
|
6
|
-
<p>
|
7
|
-
<%= t('activerecord.attributes.item.item_identifier') -%>: <%= f.text_field :item_identifier -%>
|
8
|
-
<%= t('checked_item.ignore_restriction') -%>: <%= f.check_box :ignore_restriction -%>
|
9
|
-
<%= submit_tag t('page.read') -%>
|
10
|
-
</p>
|
11
|
-
<%- end -%>
|
12
|
-
<%= javascript_tag("$('#checked_item_item_identifier').focus()") -%>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<table class="index">
|
16
|
-
<tr>
|
17
|
-
<th class="checked_item_title"><%= t('page.title') -%></th>
|
18
|
-
<th><%= t('activerecord.attributes.item.item_identifier') -%></th>
|
19
|
-
<th><%= t('activerecord.attributes.checkout.due_date') -%></th>
|
20
|
-
<th></th>
|
21
|
-
</tr>
|
22
|
-
|
23
|
-
<%- @checked_items.each_with_index do |checked_item, i| -%>
|
24
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
25
|
-
<td>
|
26
|
-
<%= render 'manifestations/show_index', :manifestation => checked_item.item.manifestation -%>
|
27
|
-
</td>
|
28
|
-
<td><%= link_to checked_item.item.item_identifier, checked_item.item -%></td>
|
29
|
-
<td><%= l(checked_item.due_date, :format => :only_date) -%></td>
|
30
|
-
<td><%= link_to t('page.destroy'), checked_item, :confirm => t('page.are_you_sure'), :method => :delete -%></td>
|
31
|
-
</tr>
|
32
|
-
<%- end -%>
|
33
|
-
</table>
|
34
|
-
|
35
|
-
<%= form_for(:basket, :url => {:controller => 'baskets', :action => 'update', :id => @basket.id}, :html => { :method => :put }) do |f| -%>
|
36
|
-
<div>
|
37
|
-
<%= f.submit t('checked_item.checkout') -%>
|
38
|
-
</div>
|
39
|
-
<%- end -%>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.checked_item')) -%></h1>
|
2
|
-
|
3
|
-
<%= form_for(@checked_item) do |f| -%>
|
4
|
-
<%= f.error_messages -%>
|
5
|
-
<div class="field">
|
6
|
-
<%= f.label t('activerecord.models.item') -%><br />
|
7
|
-
<%= f.text_field :item_id -%>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="field">
|
11
|
-
<%= f.label t('activerecord.models.basket') -%><br />
|
12
|
-
<%= f.text_field :basket_id -%>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="actions">
|
16
|
-
<%= f.submit %>
|
17
|
-
</div>
|
18
|
-
<%- end -%>
|
19
|
-
|
20
|
-
<%= link_to t('page.show'), checked_item_path(@checked_item) -%> |
|
21
|
-
<%= link_to t('page.back'), basket_checked_items_path(@checked_item.basket) -%>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checked_item')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<p id="notice"><%= notice %></p>
|
5
|
-
|
6
|
-
<div id="checked_item_list">
|
7
|
-
<%= render 'list' -%>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<br />
|
11
|
-
|
12
|
-
<%= render 'checkouts' -%>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
<div id="submenu" class="ui-corner-all">
|
17
|
-
<ul>
|
18
|
-
<li><%= link_to @basket.user.username, @basket.user -%></li>
|
19
|
-
</ul>
|
20
|
-
<ul>
|
21
|
-
<%- @basket.user.user_group.user_group_has_checkout_types.each do |available_checkout_type| -%>
|
22
|
-
<li>
|
23
|
-
<%= available_checkout_type.checkout_type.display_name.localize -%>:
|
24
|
-
<%= @basket.user.checked_item_count[:"#{available_checkout_type.checkout_type.name}"] -%> / <%= available_checkout_type.checkout_limit -%>
|
25
|
-
</li>
|
26
|
-
<%- end -%>
|
27
|
-
</ul>
|
28
|
-
<ul>
|
29
|
-
<li><%= link_to t('activerecord.models.checkin'), checkins_path -%></li>
|
30
|
-
<li><%= link_to t('activerecord.models.reserve'), user_reserves_path(@basket.user) -%></li>
|
31
|
-
</ul>
|
32
|
-
</div>
|
@@ -1 +0,0 @@
|
|
1
|
-
$("#checked_item_list").html("<%= escape_javascript(render('checked_items/list')) %>");
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.checked_item')) -%></h1>
|
2
|
-
|
3
|
-
<%= form_for(@checked_item, :url => basket_checked_items_path(@basket)) do |f| -%>
|
4
|
-
<%= f.error_messages -%>
|
5
|
-
<div class="field">
|
6
|
-
<%= f.label t('activerecord.models.item') -%><br />
|
7
|
-
<%= f.text_field :item_id -%>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="field">
|
11
|
-
<%= f.label t('activerecord.models.basket') -%><br />
|
12
|
-
<%= f.text_field :basket_id -%>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="actions">
|
16
|
-
<%= f.submit %>
|
17
|
-
</div>
|
18
|
-
<%- end -%>
|
19
|
-
|
20
|
-
<%= link_to t('page.back'), basket_checked_items_path(@basket) -%>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.checked_item')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<p id="notice"><%= notice %></p>
|
5
|
-
|
6
|
-
<p>
|
7
|
-
<strong><%= t('activerecord.models.item') -%>:</strong>
|
8
|
-
<%= link_to @checked_item.item_identifier, @checked_item.item -%>
|
9
|
-
</p>
|
10
|
-
|
11
|
-
<p>
|
12
|
-
<strong><%= t('activerecord.models.basket') -%>:</strong>
|
13
|
-
<%= link_to @checked_item.basket.id, @checked_item.basket -%>
|
14
|
-
</p>
|
15
|
-
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
<div id="submenu" class="ui-corner-all">
|
20
|
-
<ul>
|
21
|
-
<li><%= link_to t('page.edit'), edit_checked_item_path(@checked_item) -%></li>
|
22
|
-
<li><%= link_to t('page.back'), basket_checked_items_path(@checked_item.basket) -%></li>
|
23
|
-
</ul>
|
24
|
-
</div>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<%= form_for(@checkin) do |f| %>
|
2
|
-
<% if @checkin.errors.any? %>
|
3
|
-
<div id="errorExplanation">
|
4
|
-
<h2><%= pluralize(@checkin.errors.count, "error") %> prohibited this checkin from being saved:</h2>
|
5
|
-
<ul>
|
6
|
-
<% @checkin.errors.full_messages.each do |msg| %>
|
7
|
-
<li><%= msg %></li>
|
8
|
-
<% end %>
|
9
|
-
</ul>
|
10
|
-
</div>
|
11
|
-
<% end %>
|
12
|
-
|
13
|
-
<div class="field">
|
14
|
-
<%= f.label :item_id %><br />
|
15
|
-
<%= f.text_field :item_id %>
|
16
|
-
</div>
|
17
|
-
<div class="field">
|
18
|
-
<%= f.label :librarian_id %><br />
|
19
|
-
<%= f.text_field :librarian_id %>
|
20
|
-
</div>
|
21
|
-
<div class="actions">
|
22
|
-
<%= f.submit %>
|
23
|
-
</div>
|
24
|
-
<% end %>
|
@@ -1,51 +0,0 @@
|
|
1
|
-
<div style="color: red"><%= flash[:message] -%></div>
|
2
|
-
|
3
|
-
<div class="search_form">
|
4
|
-
<%= form_for @checkin, :html => {:method => :post}, :url => basket_checkins_path(@basket, :mode => 'list'), :remote => true do |f| -%>
|
5
|
-
|
6
|
-
<p><%= t('activerecord.attributes.item.item_identifier') -%>:
|
7
|
-
<%= f.text_field :item_identifier, :class => 'resource_item_identifier' -%>
|
8
|
-
<%= f.hidden_field :librarian_id, :value => current_user.id -%>
|
9
|
-
<%= submit_tag t('checkin.checkin') -%></p>
|
10
|
-
<%- end -%>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<table class="index">
|
14
|
-
<tr>
|
15
|
-
<th><%= t('page.title') -%></th>
|
16
|
-
<th><%= t('activerecord.models.item') -%></th>
|
17
|
-
<th><%= t('activerecord.attributes.checkout.due_date') -%></th>
|
18
|
-
<th><%= t('activerecord.models.user') -%></th>
|
19
|
-
</tr>
|
20
|
-
|
21
|
-
<%- @checkins.each_with_index do |checkin, i| -%>
|
22
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
23
|
-
<td>
|
24
|
-
<%= render 'manifestations/show_index', :manifestation => checkin.item.manifestation -%>
|
25
|
-
</td>
|
26
|
-
<td>
|
27
|
-
<%= link_to checkin.item.item_identifier, checkin.item -%>
|
28
|
-
<br />
|
29
|
-
(<%= link_to checkin.item.shelf.library.display_name.localize, checkin.item.shelf.library %>)
|
30
|
-
<% if defined?(EnjuInterLibraryLoan) %>
|
31
|
-
<br />
|
32
|
-
<%- unless checkin.item.shelf.library == current_user.library -%>
|
33
|
-
<span style="color: red"><%= link_to t('activerecord.models.inter_library_loan'), item_inter_library_loans_path(checkin.item) -%></span>
|
34
|
-
<%- end -%>
|
35
|
-
<% end %>
|
36
|
-
</td>
|
37
|
-
<td>
|
38
|
-
<%- if checkin.checkout -%>
|
39
|
-
<%= l(checkin.checkout.due_date, :format => :only_date) -%>
|
40
|
-
<%- end -%>
|
41
|
-
</td>
|
42
|
-
<td>
|
43
|
-
<% if checkin.checkout.user %>
|
44
|
-
<%= link_to checkin.checkout.user.username, checkin.checkout.user -%>
|
45
|
-
<% end %>
|
46
|
-
</td>
|
47
|
-
</tr>
|
48
|
-
<%- end -%>
|
49
|
-
</table>
|
50
|
-
|
51
|
-
<%= javascript_tag("$('#checkin_item_identifier').focus()") -%>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.checkin')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
|
5
|
-
<%= form_for(@checkin) do |f| -%>
|
6
|
-
<%= f.error_messages -%>
|
7
|
-
|
8
|
-
<div class="field">
|
9
|
-
<%= f.label t('activerecord.models.item') -%><br />
|
10
|
-
<%= f.text_field :item_identifier -%>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<div class="actions">
|
14
|
-
<%= f.submit %>
|
15
|
-
</div>
|
16
|
-
<%- end -%>
|
17
|
-
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div id="submenu" class="ui-corner-all">
|
22
|
-
<ul>
|
23
|
-
<li><%= link_to t('page.show'), checkin_path(@checkin) -%></li>
|
24
|
-
<li><%= link_to t('page.back'), checkins_path -%></li>
|
25
|
-
</ul>
|
26
|
-
</div>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checkin')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
|
5
|
-
<div id="checkin_list">
|
6
|
-
<%= render 'list' -%>
|
7
|
-
</div>
|
8
|
-
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div id="submenu" class="ui-corner-all">
|
13
|
-
<ul>
|
14
|
-
<li><%= link_to t('page.checkout'), new_basket_path -%></li>
|
15
|
-
</ul>
|
16
|
-
</div>
|
@@ -1 +0,0 @@
|
|
1
|
-
$("#checkin_list").html("<%= escape_javascript(render('checkins/list')) %>");
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.checkin')) -%></h1>
|
2
|
-
|
3
|
-
<%= form_for(@checkin) do |f| -%>
|
4
|
-
<%= f.error_messages -%>
|
5
|
-
|
6
|
-
<div class="field">
|
7
|
-
<%= f.label t('activerecord.models.item') -%><br />
|
8
|
-
<%= f.text_field :item_id -%>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<%= f.submit %>
|
12
|
-
<%- end -%>
|
13
|
-
|
14
|
-
<%= link_to t('page.back'), checkins_path -%>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.checkin')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<p id="notice"><%= notice %></p>
|
5
|
-
|
6
|
-
<p>
|
7
|
-
<strong><%= t('activerecord.models.item') -%>:</strong>
|
8
|
-
<%= link_to @checkin.item.manifestation.original_title, @checkin.item -%>
|
9
|
-
</p>
|
10
|
-
|
11
|
-
<p>
|
12
|
-
<strong><%= ('Librarian') -%>:</strong>
|
13
|
-
<%= link_to @checkin.librarian.username, @checkin.librarian -%>
|
14
|
-
</p>
|
15
|
-
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
<div id="submenu" class="ui-corner-all">
|
20
|
-
<ul>
|
21
|
-
<li><%= link_to t('page.edit'), edit_checkin_path(@checkin) -%></li>
|
22
|
-
<li><%= back_to_index(flash[:page_info]) -%></li>
|
23
|
-
</ul>
|
24
|
-
</div>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<%= form_for(@checkout_stat_has_manifestation) do |f| -%>
|
2
|
-
<%= f.error_messages -%>
|
3
|
-
|
4
|
-
<div class="field">
|
5
|
-
<%= f.label t('activerecord.models.manifestation_checkout_stat') -%><br />
|
6
|
-
<%= f.text_field :manifestation_checkout_stat_id -%>
|
7
|
-
</div>
|
8
|
-
<div class="field">
|
9
|
-
<%= f.label t('activerecord.models.manifestation') -%><br />
|
10
|
-
<%= f.text_field :manifestation_id -%>
|
11
|
-
</div>
|
12
|
-
<div class="actions">
|
13
|
-
<%= f.submit %>
|
14
|
-
</div>
|
15
|
-
<%- end -%>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.checkout_stat_has_manifestation')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<%= render 'form' %>
|
5
|
-
</div>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
9
|
-
<ul>
|
10
|
-
<li><%= link_to t('page.show'), @checkout_stat_has_manifestation -%></li>
|
11
|
-
<li><%= link_to t('page.back'), checkout_stat_has_manifestations_path -%></li>
|
12
|
-
</ul>
|
13
|
-
</div>
|
@@ -1,33 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.checkout_stat_has_manifestation')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
|
5
|
-
<table class="index">
|
6
|
-
<tr>
|
7
|
-
<th><%= t('activerecord.models.manifestation_checkout_stat') -%></th>
|
8
|
-
<th><%= t('activerecord.models.manifestation') -%></th>
|
9
|
-
<th><%= t('activerecord.attributes.checkout_stat_has_manifestation.checkouts_count') -%></th>
|
10
|
-
</tr>
|
11
|
-
|
12
|
-
<%- @checkout_stat_has_manifestations.each do |checkout_stat_has_manifestation| -%>
|
13
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
14
|
-
<td><%= link_to checkout_stat_has_manifestation.manifestation_checkout_stat.id, checkout_stat_has_manifestation.manifestation_checkout_stat -%></td>
|
15
|
-
<td><%= link_to checkout_stat_has_manifestation.manifestation.original_title, checkout_stat_has_manifestation.manifestation -%></td>
|
16
|
-
<td><%= checkout_stat_has_manifestation.checkouts_count -%></td>
|
17
|
-
<td><%= link_to t('page.show'), checkout_stat_has_manifestation -%></td>
|
18
|
-
<td><%= link_to t('page.edit'), edit_checkout_stat_has_manifestation_path(checkout_stat_has_manifestation) -%></td>
|
19
|
-
<td><%= link_to t('page.destroy'), checkout_stat_has_manifestation, :confirm => t('page.are_you_sure'), :method => :delete -%></td>
|
20
|
-
</tr>
|
21
|
-
<%- end -%>
|
22
|
-
</table>
|
23
|
-
|
24
|
-
<%= will_paginate(@checkout_stat_has_manifestations) -%>
|
25
|
-
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<div id="submenu" class="ui-corner-all">
|
30
|
-
<ul>
|
31
|
-
<li><%= link_to t('page.new', :model => t('activerecord.models.checkout_stat_has_manifestation')), new_checkout_stat_has_manifestation_path -%></li>
|
32
|
-
</ul>
|
33
|
-
</div>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.checkout_stat_has_manifestation')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<%= render 'form' %>
|
5
|
-
</div>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
9
|
-
<ul>
|
10
|
-
<li><%= link_to t('page.back'), checkout_stat_has_manifestations_path -%></li>
|
11
|
-
</ul>
|
12
|
-
</div>
|