mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Show edit link in placement email if changes are allowed by shop
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
|
||||
%p.callout
|
||||
= t("email_so_placement_explainer_html")
|
||||
= t("email_so_edit_false_html",
|
||||
- allow_changes = !!@order.distributor.allow_order_changes?
|
||||
= t("email_so_edit_#{allow_changes}_html",
|
||||
orders_close_at: l(@order.order_cycle.orders_close_at, format: "%a %b %d @ %l:%M%p"),
|
||||
order_url: spree.order_url(@order))
|
||||
= t("email_so_contact_distributor_html", distributor: @order.distributor.name, email: @order.distributor.email)
|
||||
|
||||
Reference in New Issue
Block a user