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" } %>