app/views/spree/admin/banks/index.html.erb in spree-bank-transfer-2.2.5 vs app/views/spree/admin/banks/index.html.erb in spree-bank-transfer-2.3.0
- old
+ new
@@ -13,20 +13,22 @@
<%= paginate @banks %>
<table class='index'>
<thead>
<tr>
- <th>Name</th>
- <th>Account No</th>
- <th>Status</th>
+ <th><%= Spree.t(:bank_name) %></th>
+ <th><%= Spree.t(:account_no) %></th>
+ <th><%= Spree.t(:additional_details) %></th>
+ <th><%= Spree.t(:status) %></th>
</tr>
</thead>
-
+
<tbody>
<% @banks.each do |bank| %>
<tr class="<%= cycle('odd', 'even') %>">
<td class="align-center"><%= bank.name %></td>
<td class="align-center"><%= bank.account_no %></td>
+ <td class="align-center"><%= bank.additional_details %></td>
<td class="align-center" id='active-status-<%= bank.id %>'><%= bank_status(bank) %></td>
<td class="actions"><%= link_to action_to_toggle_bank_status(bank), toggle_activation_admin_bank_path(bank), :remote => true, :method => :put %></td>
<td class="actions"><%= link_to_edit bank, :no_text => true, :class => 'edit' %></td>
</tr>
<% end %>
\ No newline at end of file