diff --git a/app/overrides/replace_payment_name_with_description.rb b/app/overrides/replace_payment_name_with_description.rb new file mode 100644 index 0000000000..60566fe780 --- /dev/null +++ b/app/overrides/replace_payment_name_with_description.rb @@ -0,0 +1,5 @@ +Deface::Override.new(:virtual_path => "spree/payments/_payment", + :replace => "code[erb-loud]:contains('content_tag(:span, payment.payment_method.name)')", + :text => "<%= content_tag( :span, ( payment.payment_method.description || payment.payment_method.name ).html_safe ) %>", + :name => "replace_payment_name_with_description", + :original => 'dff62efcadc0f9e6513b0f81a51ebbda035f78f6') \ No newline at end of file diff --git a/app/views/spree/shared/_order_details_steps_data.html.erb b/app/views/spree/shared/_order_details_steps_data.html.erb index 396e2be2fd..005209cd1e 100644 --- a/app/views/spree/shared/_order_details_steps_data.html.erb +++ b/app/views/spree/shared/_order_details_steps_data.html.erb @@ -1,49 +1,38 @@