From fe1a18a52068ca647bd35ee2717bdb7508db4392 Mon Sep 17 00:00:00 2001 From: brchristian Date: Mon, 21 Sep 2020 11:35:59 -0700 Subject: [PATCH] Make order customer email links consistent Previously the order table would show user account links for users who had accounts, and mailto links for those who did not. This inconsistent link behavior is replaced with plaintext for users who do not have accounts. --- backend/app/views/spree/admin/orders/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/views/spree/admin/orders/index.html.erb b/backend/app/views/spree/admin/orders/index.html.erb index 7df21a7abfd..2993383276b 100644 --- a/backend/app/views/spree/admin/orders/index.html.erb +++ b/backend/app/views/spree/admin/orders/index.html.erb @@ -184,7 +184,7 @@ <% if order.user %> <%= link_to order.email, edit_admin_user_path(order.user) %> <% else %> - <%= mail_to order.email %> + <%= order.email %> <% end %> <%= order.display_total.to_html %>