diff --git a/app/views/payment_mailer/authorization_required.text.haml b/app/views/payment_mailer/authorization_required.text.haml deleted file mode 100644 index c494f054e3..0000000000 --- a/app/views/payment_mailer/authorization_required.text.haml +++ /dev/null @@ -1,3 +0,0 @@ -= t('spree.payment_mailer.authorization_required.message', order_number: @order.number) - -= link_to spree.edit_admin_order_url(@order), spree.edit_admin_order_url(@order) diff --git a/app/views/payment_mailer/authorize_payment.text.haml b/app/views/payment_mailer/authorize_payment.text.haml deleted file mode 100644 index 39ca5e3dbc..0000000000 --- a/app/views/payment_mailer/authorize_payment.text.haml +++ /dev/null @@ -1,3 +0,0 @@ -= t('spree.payment_mailer.authorize_payment.instructions', distributor: @payment.order.distributor.name, amount: @payment.display_amount) - -= link_to main_app.authorize_payment_url(@payment), main_app.authorize_payment_url(@payment) diff --git a/app/views/producer_mailer/order_cycle_report.text.haml b/app/views/producer_mailer/order_cycle_report.text.haml deleted file mode 100644 index 6b6b7112c8..0000000000 --- a/app/views/producer_mailer/order_cycle_report.text.haml +++ /dev/null @@ -1,36 +0,0 @@ -#{t :producer_mail_greeting} #{raw(@producer.name)}, -\ -= t :producer_mail_text_before -\ -- @distributors_pickup_times.each do |distributor_name, pickup_time| - \- #{raw(distributor_name)} (#{pickup_time}) -\ -- if @receival_instructions - = t :producer_mail_delivery_instructions - = raw(@receival_instructions) -\ -Orders summary -================ -\ -= t :producer_mail_order_text -\ -- @grouped_line_items.each_pair do |product_and_full_name, line_items| - #{line_items.first.variant.sku} - #{raw(line_items.first.variant.supplier.name)} - #{raw(product_and_full_name)} (#{t(:producer_mail_qty)}: #{line_items.sum(&:quantity)}) @ #{line_items.first.single_money} = #{Spree::Money.new(line_items.sum(&:total), currency: line_items.first.currency)} (#{t(:with_tax_incl, amount: Spree::Money.new(line_items.sum(&:included_tax), currency: line_items.first.currency))}) -\ -\ -#{t :total}: #{@total} (#{t(:with_tax_incl, amount: @tax_total)}) -\ -- if @customer_line_items - = t :producer_mail_order_customer_text - \ - - @customer_line_items.each do |line_item| - #{line_item[:sku]} - #{raw(line_item[:supplier_name])} - #{raw(line_item[:product_and_full_name])} (#{t(:producer_mail_qty)}: #{line_item[:quantity]}) - #{raw(line_item[:first_name])} #{raw(line_item[:last_name])} #{raw(line_item[:business_name])} -\ -\ -= t :producer_mail_text_after - -#{t :producer_mail_signoff}, -#{raw(@coordinator.name)} -#{raw(@coordinator.address.address1)}, #{raw(@coordinator.address.city)}, #{raw(@coordinator.address.zipcode)} -#{@coordinator.phone} -#{@coordinator.contact.email} diff --git a/app/views/spree/user_mailer/confirmation_instructions.text.erb b/app/views/spree/user_mailer/confirmation_instructions.text.erb deleted file mode 100644 index a7b47a5f3d..0000000000 --- a/app/views/spree/user_mailer/confirmation_instructions.text.erb +++ /dev/null @@ -1,9 +0,0 @@ -<%= t(:email_signup_greeting) %> - -<%= t(:email_signup_welcome, sitename: Spree::Config[:site_name]) %> - -<%= t(:email_confirmation_activate_account) %> - -<%= t(:email_confirmation_click_link) %> - -<%= link_to t(:email_confirmation_link_label), spree.spree_user_confirmation_url(confirmation_token: @user.confirmation_token) %> diff --git a/app/views/spree/user_mailer/reset_password_instructions.text.erb b/app/views/spree/user_mailer/reset_password_instructions.text.erb deleted file mode 100644 index 595b1cc6aa..0000000000 --- a/app/views/spree/user_mailer/reset_password_instructions.text.erb +++ /dev/null @@ -1,7 +0,0 @@ -<%= t('.request_sent_text') %> - -<%= t('.link_text') %> - -<%= @edit_password_reset_url %> - -<%= t('.issue_text') %> diff --git a/app/views/spree/user_mailer/signup_confirmation.en-GB.text.erb b/app/views/spree/user_mailer/signup_confirmation.en-GB.text.erb deleted file mode 100644 index 2af9144ddf..0000000000 --- a/app/views/spree/user_mailer/signup_confirmation.en-GB.text.erb +++ /dev/null @@ -1,14 +0,0 @@ -Hello, - -Welcome to Open Food Network UK! Your login email is <%= @user.email %> - -You can go online and start shopping through food hubs and local producers you like at http://openfoodnetwork.org.uk - -We welcome all your questions and feedback; you can use the Send Feedback button on the site or email us at hello@openfoodnetwork.org. - -Thanks for getting on board and we look forward to introducing you to many more great farmers, food hubs and food! - -Cheers, - -The Open Food Network UK team -