enju_message 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/messages_controller.rb +1 -1
- data/app/models/message.rb +1 -3
- data/app/models/message_request.rb +12 -8
- data/app/models/message_template.rb +1 -3
- data/app/views/message_requests/index.html.erb +1 -1
- data/app/views/message_templates/index.html.erb +1 -1
- data/app/views/messages/index.html.erb +1 -1
- data/lib/enju_message/version.rb +1 -1
- data/lib/generators/enju_message/views_generator.rb +21 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/_n.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_n.fdx +0 -0
- data/spec/dummy/solr/data/test/index/{_f.fnm → _n.fnm} +1 -1
- data/spec/dummy/solr/data/test/index/{_f.frq → _n.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_f.nrm → _n.nrm} +0 -0
- data/spec/dummy/solr/data/test/index/{_f.prx → _n.prx} +0 -0
- data/spec/dummy/solr/data/test/index/{_f.tii → _n.tii} +0 -0
- data/spec/dummy/solr/data/test/index/_n.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_1d +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- metadata +21 -143
- 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/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/production.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/_f.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_f.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_f.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments_x +0 -0
@@ -1,12 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.user_reserve_stat')) -%></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'), user_reserve_stats_path -%></li>
|
11
|
-
</ul>
|
12
|
-
</div>
|
@@ -1,54 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.user_reserve_stat')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
<p id="notice"><%= notice %></p>
|
5
|
-
|
6
|
-
<p>
|
7
|
-
<strong><%= t('activerecord.attributes.user_reserve_stat.start_date') -%>:</strong>
|
8
|
-
<%= l(@user_reserve_stat.start_date) -%>
|
9
|
-
</p>
|
10
|
-
|
11
|
-
<p>
|
12
|
-
<strong><%= t('activerecord.attributes.user_reserve_stat.end_date') -%>:</strong>
|
13
|
-
<%= l(@user_reserve_stat.end_date) -%>
|
14
|
-
</p>
|
15
|
-
|
16
|
-
<p>
|
17
|
-
<strong><%= t('activerecord.attributes.user_reserve_stat.state') -%>:</strong>
|
18
|
-
<%= @user_reserve_stat.state -%>
|
19
|
-
</p>
|
20
|
-
|
21
|
-
<p>
|
22
|
-
<strong><%= t('activerecord.attributes.user_reserve_stat.note') -%>:</strong>
|
23
|
-
<%= @user_reserve_stat.note -%>
|
24
|
-
</p>
|
25
|
-
|
26
|
-
<table class="index">
|
27
|
-
<tr>
|
28
|
-
<th><%= t('activerecord.models.user') -%></th>
|
29
|
-
<th><%= t('activerecord.attributes.reserve_stat_has_user.reserves_count') -%></th>
|
30
|
-
</tr>
|
31
|
-
<%- @stats.each do |stat| -%>
|
32
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
33
|
-
<td>
|
34
|
-
<%= link_to stat.user.username, stat.user -%>
|
35
|
-
</td>
|
36
|
-
<td><%= stat.reserves_count -%></td>
|
37
|
-
</tr>
|
38
|
-
<%- end -%>
|
39
|
-
</table>
|
40
|
-
|
41
|
-
<%= will_paginate(@stats) -%>
|
42
|
-
</div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div id="submenu" class="ui-corner-all">
|
46
|
-
<ul>
|
47
|
-
<li><%= link_to t('page.edit'), edit_user_reserve_stat_path(@user_reserve_stat) -%></li>
|
48
|
-
<li><%= back_to_index(flash[:page_info]) -%></li>
|
49
|
-
</ul>
|
50
|
-
<h4><%= t('page.export') -%></h4>
|
51
|
-
<ul>
|
52
|
-
<li><%= link_to 'CSV', user_reserve_stat_path(@user_reserve_stat, :format => :csv, :locale => @locale.to_s) -%></li>
|
53
|
-
</ul>
|
54
|
-
</div>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|