app/views/plugins/ecommerce/admin/shipping_methods/index.html.erb in camaleon_ecommerce-1.2 vs app/views/plugins/ecommerce/admin/shipping_methods/index.html.erb in camaleon_ecommerce-1.2.1

- old
+ new

@@ -1,20 +1,20 @@ <div class="panel panel-default"> <div class="panel-heading"> - <h4><span class="fa fa-credit-card"></span> <%= t('plugin.ecommerce.shipping_methods') %> </h4> - <%= link_to raw("<i class='fa fa-plus'></i> #{t('plugin.ecommerce.add_shipping_methods')}"), {action: :new}, class: "btn btn-primary pull-right" %> + <h4><span class="fa fa-credit-card"></span> <%= t('plugins.ecommerce.shipping_methods') %> </h4> + <%= link_to raw("<i class='fa fa-plus'></i> #{t('plugins.ecommerce.add_shipping_methods')}"), {action: :new}, class: "btn btn-primary pull-right" %> </div> <div class="panel-body"> <table class="table"> <thead> <tr> - <th id=""><%= t('plugin.ecommerce.table.id') %></th> - <th id=""><%= t('plugin.ecommerce.table.name') %></th> - <th id=""><%= t('plugin.ecommerce.table.status') %></th> - <th id=""><%= t('plugin.ecommerce.table.description') %></th> - <th><%= t('plugin.ecommerce.table.actions') %></th> + <th id=""><%= t('plugins.ecommerce.table.id') %></th> + <th id=""><%= t('plugins.ecommerce.table.name') %></th> + <th id=""><%= t('plugins.ecommerce.table.status') %></th> + <th id=""><%= t('plugins.ecommerce.table.description') %></th> + <th><%= t('plugins.ecommerce.table.actions') %></th> </tr> </thead> <tbody> <% @shipping_methods.each do |row| @@ -23,11 +23,10 @@ <td><%= row.slug %></td> <td><%= row.name %></td> <td><%= row.status %></td> <td><%= row.description %></td> <td> - <%= link_to raw('<i class="fa fa-eye"></i>'), {action: :show, id: row.id }, class: "btn btn-info btn-xs", title: "#{t('camaleon_cms.admin.button.preview')}" %> - <%= link_to raw('<i class="fa fa-usd"></i> ' + "#{t('plugin.ecommerce.product.price')}"), admin_plugins_ecommerce_shipping_method_prices_path(row.id), class: "btn btn-primary btn-xs" %> + <%= link_to raw('<i class="fa fa-usd"></i> ' + "#{t('plugins.ecommerce.shipping_prices', default: 'Prices')}"), admin_plugins_ecommerce_shipping_method_prices_path(row.id), class: "btn btn-primary btn-xs" %> <%= link_to raw('<i class="fa fa-edit"></i>'), {action: :edit, id: row.id }, class: "btn btn-default btn-xs", title: "#{t('camaleon_cms.admin.button.edit')}" %> </td> </tr> <% end %>