From ca96be13dd1617178ffeaa23bc77dca95357caa1 Mon Sep 17 00:00:00 2001 From: Lawrence Date: Tue, 14 Feb 2023 10:15:21 -0600 Subject: [PATCH] name route and add link (#19109) --- app/views/admin/users/show/profile/_actions.html.erb | 3 +++ config/routes.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/admin/users/show/profile/_actions.html.erb b/app/views/admin/users/show/profile/_actions.html.erb index 4feb0d101..293724eae 100644 --- a/app/views/admin/users/show/profile/_actions.html.erb +++ b/app/views/admin/users/show/profile/_actions.html.erb @@ -1,5 +1,8 @@ <%= javascript_packs_with_chunks_tag "admin/editUser", defer: true %>
+ " title="<%= t("views.main.tags.aria_label") %>"> + <%= crayons_icon_tag("dashboard-line") %> + <%= link_to t("views.admin.users.profile.visit"), @user.path, class: "c-cta", target: "_blank", rel: "noopener" %>