enju_circulation 0.0.57 → 0.0.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@
17
17
  <td><%= carrier_type_has_checkout_type.note -%></td>
18
18
  <td>
19
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 -%>
20
+ <%= link_to t('page.destroy'), carrier_type_has_checkout_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
21
21
  </td>
22
22
  </tr>
23
23
  <%- end -%>
@@ -13,7 +13,7 @@
13
13
  </td>
14
14
  <td><%= link_to checked_item.item.item_identifier, checked_item.item -%></td>
15
15
  <td><%= l(checked_item.due_date, :format => :only_date) -%></td>
16
- <td><%= link_to t('page.destroy'), checked_item, :confirm => t('page.are_you_sure'), :method => :delete -%></td>
16
+ <td><%= link_to t('page.destroy'), checked_item, {:data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
17
17
  </tr>
18
18
  <%- end -%>
19
19
  </table>
@@ -16,7 +16,7 @@
16
16
  <td><%= checkout_stat_has_manifestation.checkouts_count -%></td>
17
17
  <td><%= link_to t('page.show'), checkout_stat_has_manifestation -%></td>
18
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>
19
+ <td><%= link_to t('page.destroy'), checkout_stat_has_manifestation, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
20
20
  </tr>
21
21
  <%- end -%>
22
22
  </table>
@@ -16,7 +16,7 @@
16
16
  <td><%= checkout_stat_has_user.checkouts_count -%></td>
17
17
  <td><%= link_to t('page.show'), checkout_stat_has_user -%></td>
18
18
  <td><%= link_to t('page.edit'), edit_checkout_stat_has_user_path(checkout_stat_has_user) -%></td>
19
- <td><%= link_to t('page.destroy'), checkout_stat_has_user, :confirm => t('page.are_you_sure'), :method => :delete -%></td>
19
+ <td><%= link_to t('page.destroy'), checkout_stat_has_user, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
20
20
  </tr>
21
21
  <%- end -%>
22
22
  </table>
@@ -28,7 +28,7 @@
28
28
  <%= link_to t('page.edit'), edit_checkout_type_path(checkout_type) -%>
29
29
  <% end %>
30
30
  <%- if can? :destroy, checkout_type -%>
31
- <%= link_to t('page.destroy'), checkout_type, :confirm => t('page.are_you_sure'), :method => :delete -%>
31
+ <%= link_to t('page.destroy'), checkout_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
32
32
  <% end %>
33
33
  </td>
34
34
  </tr>
@@ -34,7 +34,7 @@
34
34
  <% end %>
35
35
  <%- end -%>
36
36
  <%- if can? :destroy, checkout -%>
37
- <%= link_to t('page.destroy'), checkout, :confirm => t('page.are_you_sure'), :method => :delete -%>
37
+ <%= link_to t('page.destroy'), checkout, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
38
38
  <%- end -%>
39
39
  </td>
40
40
  </tr>
@@ -24,7 +24,7 @@
24
24
  <%= link_to t('page.edit'), edit_circulation_status_path(circulation_status) -%>
25
25
  <% end %>
26
26
  <%- if can? :destroy, circulation_status -%>
27
- <%= link_to t('page.destroy'), circulation_status, :confirm => t('page.are_you_sure'), :method => :delete -%>
27
+ <%= link_to t('page.destroy'), circulation_status, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
28
28
  <%- end -%>
29
29
  </td>
30
30
  </tr>
@@ -16,7 +16,7 @@
16
16
  <td><%= link_to item_has_use_restriction.use_restriction.display_name.localize, item_has_use_restriction.use_restriction -%></td>
17
17
  <td><%= link_to t('page.show'), item_has_use_restriction -%></td>
18
18
  <td><%= link_to t('page.edit'), edit_item_has_use_restriction_path(item_has_use_restriction) -%></td>
19
- <td><%= link_to t('page.destroy'), item_has_use_restriction, :confirm => t('page.are_you_sure'), :method => :delete -%></td>
19
+ <td><%= link_to t('page.destroy'), item_has_use_restriction, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
20
20
  </tr>
21
21
  <%- end -%>
22
22
  </table>
@@ -27,7 +27,7 @@
27
27
  <td>
28
28
  <%= link_to t('page.show'), lending_policy -%>
29
29
  <%= link_to t('page.edit'), edit_lending_policy_path(lending_policy) -%>
30
- <%= link_to t('page.destroy'), lending_policy, :confirm => t('page.are_you_sure'), :method => :delete -%>
30
+ <%= link_to t('page.destroy'), lending_policy, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
31
31
  </td>
32
32
  </tr>
33
33
  <%- end -%>
@@ -18,7 +18,7 @@
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) -%>
21
- <%= link_to t('page.destroy'), manifestation_checkout_stat, :confirm => t('page.are_you_sure'), :method => :delete -%>
21
+ <%= link_to t('page.destroy'), manifestation_checkout_stat, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
22
22
  </td>
23
23
  </tr>
24
24
  <%- end -%>
@@ -18,7 +18,7 @@
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) -%>
21
- <%= link_to t('page.destroy'), manifestation_reserve_stat, :confirm => t('page.are_you_sure'), :method => :delete -%>
21
+ <%= link_to t('page.destroy'), manifestation_reserve_stat, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
22
22
  </td>
23
23
  </tr>
24
24
  <%- end -%>
@@ -16,7 +16,7 @@
16
16
  <td><%= reserve_stat_has_manifestation.reserves_count -%></td>
17
17
  <td><%= link_to t('page.show'), reserve_stat_has_manifestation -%></td>
18
18
  <td><%= link_to t('page.edit'), edit_reserve_stat_has_manifestation_path(reserve_stat_has_manifestation) -%></td>
19
- <td><%= link_to t('page.destroy'), reserve_stat_has_manifestation, :confirm => t('page.are_you_sure'), :method => :delete -%></td>
19
+ <td><%= link_to t('page.destroy'), reserve_stat_has_manifestation, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
20
20
  </tr>
21
21
  <%- end -%>
22
22
  </table>
@@ -16,7 +16,7 @@
16
16
  <td><%= reserve_stat_has_user.reserves_count -%></td>
17
17
  <td><%= link_to t('page.show'), reserve_stat_has_user -%></td>
18
18
  <td><%= link_to t('page.edit'), edit_reserve_stat_has_user_path(reserve_stat_has_user) -%></td>
19
- <td><%= link_to t('page.destroy'), reserve_stat_has_user, :confirm => 'Are you sure?', :method => :delete -%></td>
19
+ <td><%= link_to t('page.destroy'), reserve_stat_has_user, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></td>
20
20
  </tr>
21
21
  <%- end -%>
22
22
  </table>
@@ -28,10 +28,10 @@
28
28
  <%= link_to t('page.edit'), edit_reserve_path(reserve) -%>
29
29
  <%- if reserve.user.reserves.waiting.include?(reserve) -%>
30
30
  <br />
31
- <%= link_to t('page.cancel'), reserve_path(reserve, :mode => 'cancel'), :confirm => t('page.are_you_sure'), :method => :put -%>
31
+ <%= link_to t('page.cancel'), reserve_path(reserve, :mode => 'cancel'), :data => {:confirm => t('page.are_you_sure')}, :method => :put -%>
32
32
  <%- else -%>
33
33
  <br />
34
- <%= link_to t('page.destroy'), reserve, :confirm => t('page.are_you_sure'), :method => :delete -%>
34
+ <%= link_to t('page.destroy'), reserve, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
35
35
  <%- end -%>
36
36
  </td>
37
37
  <%- end -%>
@@ -49,9 +49,9 @@
49
49
  <ul>
50
50
  <li><%= link_to t('page.edit'), edit_reserve_path(@reserve) -%></li>
51
51
  <%- if @reserve.user.reserves.waiting.include?(@reserve) -%>
52
- <li><%= link_to t('page.cancel'), reserve_path(@reserve, :mode => 'cancel'), :confirm => t('page.are_you_sure'), :method => :put -%></li>
52
+ <li><%= link_to t('page.cancel'), reserve_path(@reserve, :mode => 'cancel'), :data => {:confirm => t('page.are_you_sure')}, :method => :put -%></li>
53
53
  <%- else -%>
54
- <li><%= link_to t('page.destroy'), @reserve, :confirm => t('page.are_you_sure'), :method => :delete -%></li>
54
+ <li><%= link_to t('page.destroy'), @reserve, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
55
55
  <%- end -%>
56
56
  <li><%= link_to t('page.back'), reserves_path(:page => flash[:page] ||= nil) -%></li>
57
57
  </ul>
@@ -24,7 +24,7 @@
24
24
  <%= link_to t('page.edit'), edit_use_restriction_path(use_restriction) -%>
25
25
  <% end %>
26
26
  <%- if can? :destroy, use_restriction -%>
27
- <%= link_to t('page.destroy'), use_restriction, :confirm => t('page.are_you_sure'), :method => :delete -%>
27
+ <%= link_to t('page.destroy'), use_restriction, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
28
28
  <%- end -%>
29
29
  </td>
30
30
  </tr>
@@ -18,7 +18,7 @@
18
18
  <td>
19
19
  <%= link_to t('page.show'), user_checkout_stat -%>
20
20
  <%= link_to t('page.edit'), edit_user_checkout_stat_path(user_checkout_stat) -%>
21
- <%= link_to t('page.destroy'), user_checkout_stat, :confirm => t('page.are_you_sure'), :method => :delete -%>
21
+ <%= link_to t('page.destroy'), user_checkout_stat, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
22
22
  </td>
23
23
  </tr>
24
24
  <%- end -%>
@@ -16,7 +16,7 @@
16
16
  <td>
17
17
  <%= link_to t('page.show'), user_group_has_checkout_type -%>
18
18
  <%= link_to t('page.edit'), edit_user_group_has_checkout_type_path(user_group_has_checkout_type) -%>
19
- <%= link_to t('page.destroy'), user_group_has_checkout_type, :confirm => t('page.are_you_sure'), :method => :delete -%>
19
+ <%= link_to t('page.destroy'), user_group_has_checkout_type, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
20
20
  </td>
21
21
  </tr>
22
22
  <%- end -%>
@@ -18,7 +18,7 @@
18
18
  <td>
19
19
  <%= link_to t('page.show'), user_reserve_stat -%>
20
20
  <%= link_to t('page.edit'), edit_user_reserve_stat_path(user_reserve_stat) -%>
21
- <%= link_to t('page.destroy'), user_reserve_stat, :confirm => t('page.are_you_sure'), :method => :delete -%>
21
+ <%= link_to t('page.destroy'), user_reserve_stat, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
22
22
  </td>
23
23
  </tr>
24
24
  <%- end -%>
@@ -1,3 +1,3 @@
1
1
  module EnjuCirculation
2
- VERSION = "0.0.57"
2
+ VERSION = "0.0.58"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_circulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.57
4
+ version: 0.0.58
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-06-13 00:00:00.000000000 Z
12
+ date: 2012-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -375,7 +375,7 @@ files:
375
375
  - app/views/carrier_type_has_checkout_types/index.html.erb
376
376
  - app/views/carrier_type_has_checkout_types/new.html.erb
377
377
  - app/views/carrier_type_has_checkout_types/show.html.erb
378
- - app/views/checked_items/_checked_item.erb
378
+ - app/views/checked_items/_checked_item.html.erb
379
379
  - app/views/checked_items/_checkout.html.erb
380
380
  - app/views/checked_items/_list.html.erb
381
381
  - app/views/checked_items/edit.html.erb