mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Deletes remaining text versions of emails
This is in preparation for advancing the white labelling feature of emails and adding more specs in that regard Related discussion on Slack: https://openfoodnetwork.slack.com/archives/C2GQ45KNU/p1722902361401869?thread_ts=1721485724.245519&cid=C2GQ45KNU
This commit is contained in:
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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}
|
||||
@@ -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) %>
|
||||
@@ -1,7 +0,0 @@
|
||||
<%= t('.request_sent_text') %>
|
||||
|
||||
<%= t('.link_text') %>
|
||||
|
||||
<%= @edit_password_reset_url %>
|
||||
|
||||
<%= t('.issue_text') %>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user