enju_message 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/views/message_requests/index.html.erb +1 -1
- data/app/views/message_templates/index.html.erb +1 -1
- data/app/views/messages/show.html.erb +1 -1
- data/lib/enju_message/engine.rb +1 -8
- data/lib/enju_message/version.rb +1 -1
- data/spec/dummy/config/application.rb +0 -2
- data/spec/dummy/db/test.sqlite3 +0 -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_1 +0 -0
- metadata +6 -281
- 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/lib/enju_leaf/localized_name.rb +0 -13
- data/spec/dummy/lib/enju_leaf/master_model.rb +0 -41
- data/spec/dummy/lib/enju_leaf/url_validator.rb +0 -10
- data/spec/dummy/lib/enju_leaf.rb +0 -4
- data/spec/dummy/solr/data/test/index/_0.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_0.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_0.fnm +0 -3
- data/spec/dummy/solr/data/test/index/_0.frq +0 -1
- data/spec/dummy/solr/data/test/index/_0.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_0.prx +0 -0
- data/spec/dummy/solr/data/test/index/_0.tii +0 -0
- data/spec/dummy/solr/data/test/index/_0.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments_2 +0 -0
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<td>
|
|
32
32
|
<%= link_to t('page.show'), message_request -%>
|
|
33
33
|
<%= link_to t('page.edit'), edit_message_request_path(message_request) -%>
|
|
34
|
-
<%= link_to t('page.destroy'), message_request, :confirm => t('page.are_you_sure'), :method => :delete -%>
|
|
34
|
+
<%= link_to t('page.destroy'), message_request, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
|
|
35
35
|
</td>
|
|
36
36
|
</tr>
|
|
37
37
|
<%- end -%>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<%= link_to t('page.edit'), edit_message_template_path(message_template) -%>
|
|
27
27
|
<% end %>
|
|
28
28
|
<%- if can? :destroy, message_template -%>
|
|
29
|
-
<%= link_to t('page.destroy'), message_template, :confirm => t('page.are_you_sure'), :method => :delete -%>
|
|
29
|
+
<%= link_to t('page.destroy'), message_template, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
|
|
30
30
|
<%- end -%>
|
|
31
31
|
</td>
|
|
32
32
|
</tr>
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<% end %>
|
|
43
43
|
<li><%= link_to t('message.reply'), new_message_path(:parent_id => @message.id) -%></li>
|
|
44
44
|
<% if can? :destroy, :message %>
|
|
45
|
-
<li><%= link_to t('page.destroy'), @message, :confirm => t('page.are_you_sure'), :method => :delete -%></li>
|
|
45
|
+
<li><%= link_to t('page.destroy'), @message, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
|
|
46
46
|
<% end %>
|
|
47
47
|
</ul>
|
|
48
48
|
</div>
|
data/lib/enju_message/engine.rb
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
+
require 'enju_core'
|
|
1
2
|
require 'configatron'
|
|
2
3
|
require 'delayed_job_active_record'
|
|
3
|
-
require 'devise'
|
|
4
|
-
require 'cancan'
|
|
5
4
|
require 'state_machine'
|
|
6
5
|
require 'inherited_resources'
|
|
7
|
-
require 'attribute_normalizer'
|
|
8
|
-
require 'addressable/uri'
|
|
9
|
-
require 'friendly_id'
|
|
10
6
|
require 'awesome_nested_set'
|
|
11
|
-
require 'will_paginate'
|
|
12
|
-
require 'sunspot_rails'
|
|
13
|
-
require 'acts_as_list'
|
|
14
7
|
|
|
15
8
|
module EnjuMessage
|
|
16
9
|
class Engine < ::Rails::Engine
|
data/lib/enju_message/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: enju_message
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-06-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -91,70 +91,6 @@ dependencies:
|
|
|
91
91
|
- - ~>
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
93
|
version: '2.1'
|
|
94
|
-
- !ruby/object:Gem::Dependency
|
|
95
|
-
name: friendly_id
|
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
|
97
|
-
none: false
|
|
98
|
-
requirements:
|
|
99
|
-
- - ~>
|
|
100
|
-
- !ruby/object:Gem::Version
|
|
101
|
-
version: '4.0'
|
|
102
|
-
type: :runtime
|
|
103
|
-
prerelease: false
|
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
-
none: false
|
|
106
|
-
requirements:
|
|
107
|
-
- - ~>
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: '4.0'
|
|
110
|
-
- !ruby/object:Gem::Dependency
|
|
111
|
-
name: will_paginate
|
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
|
113
|
-
none: false
|
|
114
|
-
requirements:
|
|
115
|
-
- - ~>
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: '3.0'
|
|
118
|
-
type: :runtime
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
none: false
|
|
122
|
-
requirements:
|
|
123
|
-
- - ~>
|
|
124
|
-
- !ruby/object:Gem::Version
|
|
125
|
-
version: '3.0'
|
|
126
|
-
- !ruby/object:Gem::Dependency
|
|
127
|
-
name: devise
|
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
|
129
|
-
none: false
|
|
130
|
-
requirements:
|
|
131
|
-
- - ! '>='
|
|
132
|
-
- !ruby/object:Gem::Version
|
|
133
|
-
version: '0'
|
|
134
|
-
type: :runtime
|
|
135
|
-
prerelease: false
|
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
137
|
-
none: false
|
|
138
|
-
requirements:
|
|
139
|
-
- - ! '>='
|
|
140
|
-
- !ruby/object:Gem::Version
|
|
141
|
-
version: '0'
|
|
142
|
-
- !ruby/object:Gem::Dependency
|
|
143
|
-
name: cancan
|
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
|
145
|
-
none: false
|
|
146
|
-
requirements:
|
|
147
|
-
- - ! '>='
|
|
148
|
-
- !ruby/object:Gem::Version
|
|
149
|
-
version: '0'
|
|
150
|
-
type: :runtime
|
|
151
|
-
prerelease: false
|
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
153
|
-
none: false
|
|
154
|
-
requirements:
|
|
155
|
-
- - ! '>='
|
|
156
|
-
- !ruby/object:Gem::Version
|
|
157
|
-
version: '0'
|
|
158
94
|
- !ruby/object:Gem::Dependency
|
|
159
95
|
name: state_machine
|
|
160
96
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -188,39 +124,7 @@ dependencies:
|
|
|
188
124
|
- !ruby/object:Gem::Version
|
|
189
125
|
version: '0'
|
|
190
126
|
- !ruby/object:Gem::Dependency
|
|
191
|
-
name:
|
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
|
193
|
-
none: false
|
|
194
|
-
requirements:
|
|
195
|
-
- - ! '>='
|
|
196
|
-
- !ruby/object:Gem::Version
|
|
197
|
-
version: '0'
|
|
198
|
-
type: :runtime
|
|
199
|
-
prerelease: false
|
|
200
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
201
|
-
none: false
|
|
202
|
-
requirements:
|
|
203
|
-
- - ! '>='
|
|
204
|
-
- !ruby/object:Gem::Version
|
|
205
|
-
version: '0'
|
|
206
|
-
- !ruby/object:Gem::Dependency
|
|
207
|
-
name: attribute_normalizer
|
|
208
|
-
requirement: !ruby/object:Gem::Requirement
|
|
209
|
-
none: false
|
|
210
|
-
requirements:
|
|
211
|
-
- - ~>
|
|
212
|
-
- !ruby/object:Gem::Version
|
|
213
|
-
version: '1.1'
|
|
214
|
-
type: :runtime
|
|
215
|
-
prerelease: false
|
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
217
|
-
none: false
|
|
218
|
-
requirements:
|
|
219
|
-
- - ~>
|
|
220
|
-
- !ruby/object:Gem::Version
|
|
221
|
-
version: '1.1'
|
|
222
|
-
- !ruby/object:Gem::Dependency
|
|
223
|
-
name: sunspot_rails
|
|
127
|
+
name: enju_core
|
|
224
128
|
requirement: !ruby/object:Gem::Requirement
|
|
225
129
|
none: false
|
|
226
130
|
requirements:
|
|
@@ -235,38 +139,6 @@ dependencies:
|
|
|
235
139
|
- - ! '>='
|
|
236
140
|
- !ruby/object:Gem::Version
|
|
237
141
|
version: '0'
|
|
238
|
-
- !ruby/object:Gem::Dependency
|
|
239
|
-
name: sunspot_solr
|
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
|
241
|
-
none: false
|
|
242
|
-
requirements:
|
|
243
|
-
- - ! '>='
|
|
244
|
-
- !ruby/object:Gem::Version
|
|
245
|
-
version: '0'
|
|
246
|
-
type: :runtime
|
|
247
|
-
prerelease: false
|
|
248
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
249
|
-
none: false
|
|
250
|
-
requirements:
|
|
251
|
-
- - ! '>='
|
|
252
|
-
- !ruby/object:Gem::Version
|
|
253
|
-
version: '0'
|
|
254
|
-
- !ruby/object:Gem::Dependency
|
|
255
|
-
name: acts_as_list
|
|
256
|
-
requirement: !ruby/object:Gem::Requirement
|
|
257
|
-
none: false
|
|
258
|
-
requirements:
|
|
259
|
-
- - ~>
|
|
260
|
-
- !ruby/object:Gem::Version
|
|
261
|
-
version: 0.1.6
|
|
262
|
-
type: :runtime
|
|
263
|
-
prerelease: false
|
|
264
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
265
|
-
none: false
|
|
266
|
-
requirements:
|
|
267
|
-
- - ~>
|
|
268
|
-
- !ruby/object:Gem::Version
|
|
269
|
-
version: 0.1.6
|
|
270
142
|
- !ruby/object:Gem::Dependency
|
|
271
143
|
name: sqlite3
|
|
272
144
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -316,7 +188,7 @@ dependencies:
|
|
|
316
188
|
- !ruby/object:Gem::Version
|
|
317
189
|
version: '0'
|
|
318
190
|
- !ruby/object:Gem::Dependency
|
|
319
|
-
name:
|
|
191
|
+
name: sunspot_solr
|
|
320
192
|
requirement: !ruby/object:Gem::Requirement
|
|
321
193
|
none: false
|
|
322
194
|
requirements:
|
|
@@ -345,84 +217,7 @@ files:
|
|
|
345
217
|
- app/models/message.rb
|
|
346
218
|
- app/models/message_request.rb
|
|
347
219
|
- app/models/message_template.rb
|
|
348
|
-
- app/views/baskets/edit.html.erb
|
|
349
|
-
- app/views/baskets/index.html.erb
|
|
350
|
-
- app/views/baskets/new.html.erb
|
|
351
|
-
- app/views/baskets/show.html.erb
|
|
352
|
-
- app/views/carrier_type_has_checkout_types/_form.html.erb
|
|
353
|
-
- app/views/carrier_type_has_checkout_types/edit.html.erb
|
|
354
|
-
- app/views/carrier_type_has_checkout_types/index.html.erb
|
|
355
|
-
- app/views/carrier_type_has_checkout_types/new.html.erb
|
|
356
|
-
- app/views/carrier_type_has_checkout_types/show.html.erb
|
|
357
|
-
- app/views/checked_items/_checkouts.html.erb
|
|
358
|
-
- app/views/checked_items/_list.html.erb
|
|
359
|
-
- app/views/checked_items/edit.html.erb
|
|
360
|
-
- app/views/checked_items/index.html.erb
|
|
361
|
-
- app/views/checked_items/index.js.erb
|
|
362
|
-
- app/views/checked_items/new.html.erb
|
|
363
|
-
- app/views/checked_items/show.html.erb
|
|
364
|
-
- app/views/checkins/_form.html.erb
|
|
365
|
-
- app/views/checkins/_list.html.erb
|
|
366
|
-
- app/views/checkins/edit.html.erb
|
|
367
|
-
- app/views/checkins/index.html.erb
|
|
368
|
-
- app/views/checkins/index.js.erb
|
|
369
|
-
- app/views/checkins/new.html.erb
|
|
370
|
-
- app/views/checkins/show.html.erb
|
|
371
|
-
- app/views/checkout_stat_has_manifestations/_form.html.erb
|
|
372
|
-
- app/views/checkout_stat_has_manifestations/edit.html.erb
|
|
373
|
-
- app/views/checkout_stat_has_manifestations/index.html.erb
|
|
374
|
-
- app/views/checkout_stat_has_manifestations/new.html.erb
|
|
375
|
-
- app/views/checkout_stat_has_manifestations/show.html.erb
|
|
376
|
-
- app/views/checkout_stat_has_users/_form.html.erb
|
|
377
|
-
- app/views/checkout_stat_has_users/edit.html.erb
|
|
378
|
-
- app/views/checkout_stat_has_users/index.html.erb
|
|
379
|
-
- app/views/checkout_stat_has_users/new.html.erb
|
|
380
|
-
- app/views/checkout_stat_has_users/show.html.erb
|
|
381
|
-
- app/views/checkout_types/_form.html.erb
|
|
382
|
-
- app/views/checkout_types/edit.html.erb
|
|
383
|
-
- app/views/checkout_types/index.html.erb
|
|
384
|
-
- app/views/checkout_types/new.html.erb
|
|
385
|
-
- app/views/checkout_types/show.html.erb
|
|
386
|
-
- app/views/checkouts/_form.html.erb
|
|
387
|
-
- app/views/checkouts/_index.html.erb
|
|
388
|
-
- app/views/checkouts/_index_overdue.html.erb
|
|
389
|
-
- app/views/checkouts/_index_user.html.erb
|
|
390
|
-
- app/views/checkouts/_list.html.erb
|
|
391
|
-
- app/views/checkouts/edit.html.erb
|
|
392
|
-
- app/views/checkouts/index.atom.builder
|
|
393
|
-
- app/views/checkouts/index.csv.erb
|
|
394
|
-
- app/views/checkouts/index.html.erb
|
|
395
|
-
- app/views/checkouts/index.ics.erb
|
|
396
|
-
- app/views/checkouts/index.rss.builder
|
|
397
|
-
- app/views/checkouts/new.html.erb
|
|
398
|
-
- app/views/checkouts/show.html.erb
|
|
399
|
-
- app/views/circulation_statuses/_form.html.erb
|
|
400
|
-
- app/views/circulation_statuses/edit.html.erb
|
|
401
|
-
- app/views/circulation_statuses/index.html.erb
|
|
402
|
-
- app/views/circulation_statuses/new.html.erb
|
|
403
|
-
- app/views/circulation_statuses/show.html.erb
|
|
404
|
-
- app/views/item_has_use_restrictions/edit.html.erb
|
|
405
|
-
- app/views/item_has_use_restrictions/index.html.erb
|
|
406
|
-
- app/views/item_has_use_restrictions/new.html.erb
|
|
407
|
-
- app/views/item_has_use_restrictions/show.html.erb
|
|
408
220
|
- app/views/layouts/messages.html.erb
|
|
409
|
-
- app/views/lending_policies/_form.html.erb
|
|
410
|
-
- app/views/lending_policies/edit.html.erb
|
|
411
|
-
- app/views/lending_policies/index.html.erb
|
|
412
|
-
- app/views/lending_policies/new.html.erb
|
|
413
|
-
- app/views/lending_policies/show.html.erb
|
|
414
|
-
- app/views/manifestation_checkout_stats/_form.html.erb
|
|
415
|
-
- app/views/manifestation_checkout_stats/edit.html.erb
|
|
416
|
-
- app/views/manifestation_checkout_stats/index.html.erb
|
|
417
|
-
- app/views/manifestation_checkout_stats/new.html.erb
|
|
418
|
-
- app/views/manifestation_checkout_stats/show.csv.erb
|
|
419
|
-
- app/views/manifestation_checkout_stats/show.html.erb
|
|
420
|
-
- app/views/manifestation_reserve_stats/_form.html.erb
|
|
421
|
-
- app/views/manifestation_reserve_stats/edit.html.erb
|
|
422
|
-
- app/views/manifestation_reserve_stats/index.html.erb
|
|
423
|
-
- app/views/manifestation_reserve_stats/new.html.erb
|
|
424
|
-
- app/views/manifestation_reserve_stats/show.csv.erb
|
|
425
|
-
- app/views/manifestation_reserve_stats/show.html.erb
|
|
426
221
|
- app/views/message_requests/edit.html.erb
|
|
427
222
|
- app/views/message_requests/index.html.erb
|
|
428
223
|
- app/views/message_requests/new.html.erb
|
|
@@ -441,48 +236,6 @@ files:
|
|
|
441
236
|
- app/views/messages/show.html.erb
|
|
442
237
|
- app/views/notifier/message_notification.en.text.erb
|
|
443
238
|
- app/views/notifier/message_notification.ja.text.erb
|
|
444
|
-
- app/views/reserve_stat_has_manifestations/_form.html.erb
|
|
445
|
-
- app/views/reserve_stat_has_manifestations/edit.html.erb
|
|
446
|
-
- app/views/reserve_stat_has_manifestations/index.html.erb
|
|
447
|
-
- app/views/reserve_stat_has_manifestations/new.html.erb
|
|
448
|
-
- app/views/reserve_stat_has_manifestations/show.html.erb
|
|
449
|
-
- app/views/reserve_stat_has_users/_form.html.erb
|
|
450
|
-
- app/views/reserve_stat_has_users/edit.html.erb
|
|
451
|
-
- app/views/reserve_stat_has_users/index.html.erb
|
|
452
|
-
- app/views/reserve_stat_has_users/new.html.erb
|
|
453
|
-
- app/views/reserve_stat_has_users/show.html.erb
|
|
454
|
-
- app/views/reserves/_form.html.erb
|
|
455
|
-
- app/views/reserves/_new.html.erb
|
|
456
|
-
- app/views/reserves/_new_user.html.erb
|
|
457
|
-
- app/views/reserves/_title.html.erb
|
|
458
|
-
- app/views/reserves/edit.html.erb
|
|
459
|
-
- app/views/reserves/index.atom.builder
|
|
460
|
-
- app/views/reserves/index.csv.erb
|
|
461
|
-
- app/views/reserves/index.html.erb
|
|
462
|
-
- app/views/reserves/index.rss.builder
|
|
463
|
-
- app/views/reserves/new.html.erb
|
|
464
|
-
- app/views/reserves/show.html.erb
|
|
465
|
-
- app/views/use_restrictions/_form.html.erb
|
|
466
|
-
- app/views/use_restrictions/edit.html.erb
|
|
467
|
-
- app/views/use_restrictions/index.html.erb
|
|
468
|
-
- app/views/use_restrictions/new.html.erb
|
|
469
|
-
- app/views/use_restrictions/show.html.erb
|
|
470
|
-
- app/views/user_checkout_stats/_form.html.erb
|
|
471
|
-
- app/views/user_checkout_stats/edit.html.erb
|
|
472
|
-
- app/views/user_checkout_stats/index.html.erb
|
|
473
|
-
- app/views/user_checkout_stats/new.html.erb
|
|
474
|
-
- app/views/user_checkout_stats/show.csv.erb
|
|
475
|
-
- app/views/user_checkout_stats/show.html.erb
|
|
476
|
-
- app/views/user_group_has_checkout_types/edit.html.erb
|
|
477
|
-
- app/views/user_group_has_checkout_types/index.html.erb
|
|
478
|
-
- app/views/user_group_has_checkout_types/new.html.erb
|
|
479
|
-
- app/views/user_group_has_checkout_types/show.html.erb
|
|
480
|
-
- app/views/user_reserve_stats/_form.html.erb
|
|
481
|
-
- app/views/user_reserve_stats/edit.html.erb
|
|
482
|
-
- app/views/user_reserve_stats/index.html.erb
|
|
483
|
-
- app/views/user_reserve_stats/new.html.erb
|
|
484
|
-
- app/views/user_reserve_stats/show.csv.erb
|
|
485
|
-
- app/views/user_reserve_stats/show.html.erb
|
|
486
239
|
- config/locales/translation_en.yml
|
|
487
240
|
- config/locales/translation_ja.yml
|
|
488
241
|
- config/routes.rb
|
|
@@ -539,7 +292,6 @@ files:
|
|
|
539
292
|
- spec/dummy/config/locales/en.yml
|
|
540
293
|
- spec/dummy/config/routes.rb
|
|
541
294
|
- spec/dummy/config.ru
|
|
542
|
-
- spec/dummy/db/development.sqlite3
|
|
543
295
|
- spec/dummy/db/migrate/001_create_patrons.rb
|
|
544
296
|
- spec/dummy/db/migrate/080_create_library_groups.rb
|
|
545
297
|
- spec/dummy/db/migrate/20080905191442_create_patron_types.rb
|
|
@@ -556,13 +308,8 @@ files:
|
|
|
556
308
|
- spec/dummy/db/migrate/20111201163342_create_user_groups.rb
|
|
557
309
|
- spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
|
|
558
310
|
- spec/dummy/db/migrate/20120213092115_add_queue_to_delayed_jobs.rb
|
|
559
|
-
- spec/dummy/db/production.sqlite3
|
|
560
311
|
- spec/dummy/db/schema.rb
|
|
561
312
|
- spec/dummy/db/test.sqlite3
|
|
562
|
-
- spec/dummy/lib/enju_leaf/localized_name.rb
|
|
563
|
-
- spec/dummy/lib/enju_leaf/master_model.rb
|
|
564
|
-
- spec/dummy/lib/enju_leaf/url_validator.rb
|
|
565
|
-
- spec/dummy/lib/enju_leaf.rb
|
|
566
313
|
- spec/dummy/public/404.html
|
|
567
314
|
- spec/dummy/public/422.html
|
|
568
315
|
- spec/dummy/public/500.html
|
|
@@ -580,16 +327,8 @@ files:
|
|
|
580
327
|
- spec/dummy/solr/conf/spellings.txt
|
|
581
328
|
- spec/dummy/solr/conf/stopwords.txt
|
|
582
329
|
- spec/dummy/solr/conf/synonyms.txt
|
|
583
|
-
- spec/dummy/solr/data/test/index/_0.fdt
|
|
584
|
-
- spec/dummy/solr/data/test/index/_0.fdx
|
|
585
|
-
- spec/dummy/solr/data/test/index/_0.fnm
|
|
586
|
-
- spec/dummy/solr/data/test/index/_0.frq
|
|
587
|
-
- spec/dummy/solr/data/test/index/_0.nrm
|
|
588
|
-
- spec/dummy/solr/data/test/index/_0.prx
|
|
589
|
-
- spec/dummy/solr/data/test/index/_0.tii
|
|
590
|
-
- spec/dummy/solr/data/test/index/_0.tis
|
|
591
330
|
- spec/dummy/solr/data/test/index/segments.gen
|
|
592
|
-
- spec/dummy/solr/data/test/index/
|
|
331
|
+
- spec/dummy/solr/data/test/index/segments_1
|
|
593
332
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
|
594
333
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
|
595
334
|
- spec/factories/message.rb
|
|
@@ -676,7 +415,6 @@ test_files:
|
|
|
676
415
|
- spec/dummy/config/locales/en.yml
|
|
677
416
|
- spec/dummy/config/routes.rb
|
|
678
417
|
- spec/dummy/config.ru
|
|
679
|
-
- spec/dummy/db/development.sqlite3
|
|
680
418
|
- spec/dummy/db/migrate/001_create_patrons.rb
|
|
681
419
|
- spec/dummy/db/migrate/080_create_library_groups.rb
|
|
682
420
|
- spec/dummy/db/migrate/20080905191442_create_patron_types.rb
|
|
@@ -693,13 +431,8 @@ test_files:
|
|
|
693
431
|
- spec/dummy/db/migrate/20111201163342_create_user_groups.rb
|
|
694
432
|
- spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
|
|
695
433
|
- spec/dummy/db/migrate/20120213092115_add_queue_to_delayed_jobs.rb
|
|
696
|
-
- spec/dummy/db/production.sqlite3
|
|
697
434
|
- spec/dummy/db/schema.rb
|
|
698
435
|
- spec/dummy/db/test.sqlite3
|
|
699
|
-
- spec/dummy/lib/enju_leaf/localized_name.rb
|
|
700
|
-
- spec/dummy/lib/enju_leaf/master_model.rb
|
|
701
|
-
- spec/dummy/lib/enju_leaf/url_validator.rb
|
|
702
|
-
- spec/dummy/lib/enju_leaf.rb
|
|
703
436
|
- spec/dummy/public/404.html
|
|
704
437
|
- spec/dummy/public/422.html
|
|
705
438
|
- spec/dummy/public/500.html
|
|
@@ -717,16 +450,8 @@ test_files:
|
|
|
717
450
|
- spec/dummy/solr/conf/spellings.txt
|
|
718
451
|
- spec/dummy/solr/conf/stopwords.txt
|
|
719
452
|
- spec/dummy/solr/conf/synonyms.txt
|
|
720
|
-
- spec/dummy/solr/data/test/index/_0.fdt
|
|
721
|
-
- spec/dummy/solr/data/test/index/_0.fdx
|
|
722
|
-
- spec/dummy/solr/data/test/index/_0.fnm
|
|
723
|
-
- spec/dummy/solr/data/test/index/_0.frq
|
|
724
|
-
- spec/dummy/solr/data/test/index/_0.nrm
|
|
725
|
-
- spec/dummy/solr/data/test/index/_0.prx
|
|
726
|
-
- spec/dummy/solr/data/test/index/_0.tii
|
|
727
|
-
- spec/dummy/solr/data/test/index/_0.tis
|
|
728
453
|
- spec/dummy/solr/data/test/index/segments.gen
|
|
729
|
-
- spec/dummy/solr/data/test/index/
|
|
454
|
+
- spec/dummy/solr/data/test/index/segments_1
|
|
730
455
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
|
731
456
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
|
732
457
|
- spec/factories/message.rb
|
|
@@ -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>
|