From aff5abb92de36244a78e796db2fc541124bd2a01 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Sat, 26 Apr 2025 19:06:51 -0500 Subject: [PATCH] Adjust copy and alignment --- app/views/users/show.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index e48da7b94..314b1492d 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -31,9 +31,9 @@ -
- <%= link_to "Everything assigned to #{@user.first_name}", cards_path(assignee_ids: [@user.id], indexed_by: "newest"), class: "btn", data: { turbo_frame: "_top" } %> - <%= link_to "Everything reported by #{@user.first_name}", cards_path(creator_ids: [@user.id], indexed_by: "newest"), class: "btn", data: { turbo_frame: "_top" } %> +
+ <%= link_to "See cards assigned to #{ Current.user == @user ? "you" : @user.first_name }", cards_path(assignee_ids: [@user.id], indexed_by: "newest"), class: "btn", data: { turbo_frame: "_top" } %> + <%= link_to "See cards reported by #{ Current.user == @user ? "you" : @user.first_name }", cards_path(creator_ids: [@user.id], indexed_by: "newest"), class: "btn", data: { turbo_frame: "_top" } %>