-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'DanielePalombo-add-html-templates'
Resolves #1377 Conflicts: CHANGELOG.md
- Loading branch information
Showing
7 changed files
with
41 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
core/app/views/spree/order_mailer/inventory_cancellation_email.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<table> | ||
<tr> | ||
<td> | ||
<p class="lede"> | ||
<%= Spree.t('order_mailer.inventory_cancellation.dear_customer') %> | ||
</p> | ||
<p> | ||
<%= Spree.t('order_mailer.inventory_cancellation.instructions') %> | ||
</p> | ||
<p> | ||
<%= Spree.t('order_mailer.inventory_cancellation.order_summary_canceled') %> | ||
</p> | ||
<table> | ||
<% @inventory_units.each do |item| %> | ||
<tr> | ||
<td><%= item.variant.sku %></td> | ||
<td><%= item.variant.product.name %></td> | ||
<td><%= item.variant.options_text -%></td> | ||
</tr> | ||
<% end %> | ||
</table> | ||
<p> | ||
</td> | ||
<td class="expander"></td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters