Skip to content

Commit 519f70f

Browse files
committed
Merge branch '504-imp-improve-system-emails'
2 parents 08e9fa9 + 6873261 commit 519f70f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bakeup/shop/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ def replace_message_tags(self, message, request):
951951
"first_name": self.customer.user.first_name,
952952
"last_name": self.customer.user.last_name,
953953
"email": self.customer.user.email,
954-
"order": self.get_order_positions_string(),
954+
"order": self.get_order_positions_string(html=True),
955955
"price_total": (
956956
self.price_total and Money(self.price_total, "EUR") or ""
957957
),

bakeup/workshop/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def replace_message_tags(self, message, order, user, client, production_day):
714714
"first_name": user.first_name,
715715
"last_name": user.last_name,
716716
"email": user.email,
717-
"order": SafeString(order.get_order_positions_string()),
717+
"order": SafeString(order.get_order_positions_string(html=True)),
718718
"price_total": (
719719
order.price_total and Money(order.price_total, "EUR") or ""
720720
),

0 commit comments

Comments
 (0)