Skip to content

Commit 664a3c4

Browse files
authored
Merge pull request solidusio#3767 from brchristian/patch-4
Make order customer email links consistent
2 parents f084fb1 + e6e21f9 commit 664a3c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

backend/app/views/spree/admin/orders/index.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@
184184
<% if order.user %>
185185
<%= link_to order.email, edit_admin_user_path(order.user) %>
186186
<% else %>
187-
<%= mail_to order.email %>
187+
<%= order.email %>
188188
<% end %>
189+
<%= link_to_with_icon('email', t('spree.actions.send_email'), "mailto:#{order.email}", no_text: true) %>
189190
</td>
190191
<td class="align-right"><%= order.display_total.to_html %></td>
191192
<td class='actions align-center' data-hook="admin_orders_index_row_actions">

core/config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ en:
793793
refund: Refund
794794
remove: Remove
795795
save: Save
796+
send_email: Send Email
796797
ship: Ship
797798
split: Split
798799
update: Update

0 commit comments

Comments
 (0)