app/views/plugins/ecommerce/admin/payment_methods/show.html.erb in camaleon_ecommerce-1.2 vs app/views/plugins/ecommerce/admin/payment_methods/show.html.erb in camaleon_ecommerce-1.2.1

- old
+ new

@@ -1,62 +1,62 @@ <div class="panel panel-default"> <div class="panel-heading"> <h4><span class="fa fa-credit-card"></span> <%= @payment_method.name %></h4> - <%= link_to raw("<i class='fa fa-edit'></i> #{t('plugin.ecommerce.edit_payment_methods')}"), {action: :edit, id: @payment_method.id}, class: "btn btn-primary pull-right" %> + <%= link_to raw("<i class='fa fa-edit'></i> #{t('plugins.ecommerce.edit_payment_methods')}"), {action: :edit, id: @payment_method.id}, class: "btn btn-primary pull-right" %> </div> <div class="panel-body"> <div class="row"> <div class="col-md-6"> - <h3><%= t('plugin.ecommerce.info') %></h3> + <h3><%= t('plugins.ecommerce.info') %></h3> <ul class="ec-list-orders-address"> - <li><strong><%= t('plugin.ecommerce.table.name') %>:</strong> <span> <%= @payment_method.name %></span></li> - <li><strong><%= t('plugin.ecommerce.table.description') %>:</strong> <span> <%= @payment_method.description %></span></li> - <li><strong><%= t('plugin.ecommerce.status') %>:</strong> <span> <%= raw @payment_method.the_status %></span></li> + <li><strong><%= t('plugins.ecommerce.table.name') %>:</strong> <span> <%= @payment_method.name %></span></li> + <li><strong><%= t('plugins.ecommerce.table.description') %>:</strong> <span> <%= @payment_method.description %></span></li> + <li><strong><%= t('plugins.ecommerce.status') %>:</strong> <span> <%= raw @payment_method.the_status %></span></li> </ul> </div> <div class="col-md-6"> <% if @payment_method.options[:type] == 'paypal' %> - <h3><%= t('plugin.ecommerce.method_paypal') %></h3> + <h3><%= t('plugins.ecommerce.method_paypal') %></h3> <ul class="ec-list-orders-address"> - <li><strong><%= t('plugin.ecommerce.table.login') %>:</strong> <span> <%= @payment_method.options[:paypal_login] %></span></li> - <li><strong><%= t('plugin.ecommerce.table.password') %>:</strong> <span> <%= @payment_method.options[:paypal_password] %></span></li> - <li><strong><%= t('plugin.ecommerce.table.signature') %>:</strong> <span> <%= @payment_method.options[:paypal_signature] %></span></li> - <li><strong><%= t('plugin.ecommerce.table.sandbox') %>:</strong> <span> <%= @payment_method.options[:paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %></span></li> + <li><strong><%= t('plugins.ecommerce.table.login') %>:</strong> <span> <%= @payment_method.options[:paypal_login] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.password') %>:</strong> <span> <%= @payment_method.options[:paypal_password] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.signature') %>:</strong> <span> <%= @payment_method.options[:paypal_signature] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.sandbox') %>:</strong> <span> <%= @payment_method.options[:paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %></span></li> </ul> <% end %> <% if @payment_method.options[:type] == 'credit_card' %> - <h3><%= t('plugin.ecommerce.method_credit_card') %></h3> + <h3><%= t('plugins.ecommerce.method_credit_card') %></h3> <ul class="ec-list-orders-address"> - <li><strong><%= t('plugin.ecommerce.table.login') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_login] %></span></li> - <li><strong><%= t('plugin.ecommerce.table.password') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_password] %></span></li> - <li><strong><%= t('plugin.ecommerce.table.signature') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_signature] %></span></li> - <li><strong><%= t('plugin.ecommerce.table.sandbox') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %></span></li> + <li><strong><%= t('plugins.ecommerce.table.login') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_login] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.password') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_password] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.signature') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_signature] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.sandbox') %>:</strong> <span> <%= @payment_method.options[:cc_paypal_sandbox].to_s.to_bool ? 'Yes' : 'No' %></span></li> </ul> <% end %> <% if @payment_method.options[:type] == 'bank_transfer' %> - <h3><%= t('plugin.ecommerce.method_bank_transfer') %></h3> + <h3><%= t('plugins.ecommerce.method_bank_transfer') %></h3> <ul class="ec-list-orders-address"> - <li><strong><%= t('plugin.ecommerce.table.number_account_bank') %>:</strong> <span> <%= @payment_method.options[:bank_transfer_number_account] %></span></li> - <li><strong><%= t('plugin.ecommerce.table.details') %>:</strong> <span> <%= @payment_method.options[:bank_transfer_detail] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.number_account_bank') %>:</strong> <span> <%= @payment_method.options[:bank_transfer_number_account] %></span></li> + <li><strong><%= t('plugins.ecommerce.table.details') %>:</strong> <span> <%= @payment_method.options[:bank_transfer_detail] %></span></li> </ul> <% end %> <% if @payment_method.options[:type] == 'authorize_net' %> - <h3><%= t('plugin.ecommerce.method_authorize_net') %></h3> + <h3><%= t('plugins.ecommerce.method_authorize_net') %></h3> <ul class="ec-list-orders-address"> <li> - <strong><%= t('plugin.ecommerce.table.login_id') %>:</strong> + <strong><%= t('plugins.ecommerce.table.login_id') %>:</strong> <span> <%= @payment_method.options[:authorize_net_login_id] %></span> </li> <li> - <strong><%= t('plugin.ecommerce.table.transaction_key') %>:</strong> + <strong><%= t('plugins.ecommerce.table.transaction_key') %>:</strong> <span> <%= @payment_method.options[:authorize_net_transaction_key] %></span> </li> <li> - <strong><%= t('plugin.ecommerce.table.sandbox') %>:</strong> + <strong><%= t('plugins.ecommerce.table.sandbox') %>:</strong> <span> <%= @payment_method.options[:authorize_net_sandbox].to_s.to_bool ? 'Yes' : 'No' %></span> </li> </ul> <% end %> </div>