From 114e651d25a7e0738762e79c630a4a431bc2c448 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 18 Dec 2024 16:40:41 -0600 Subject: [PATCH] Link to profile --- app/views/accounts/users/_user.html.erb | 2 +- app/views/comments/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/accounts/users/_user.html.erb b/app/views/accounts/users/_user.html.erb index 2da66fce3..2abb9b665 100644 --- a/app/views/accounts/users/_user.html.erb +++ b/app/views/accounts/users/_user.html.erb @@ -2,7 +2,7 @@ <%= avatar_tag user, loading: :lazy, class: "flex-item-no-shrink" %> - <%= link_to user.name, user_path(user) %> + <%= link_to user.name, user_path(user), class: "txt-ink btn btn--plain" %> diff --git a/app/views/comments/show.html.erb b/app/views/comments/show.html.erb index 94f7362af..f10f40b86 100644 --- a/app/views/comments/show.html.erb +++ b/app/views/comments/show.html.erb @@ -1,7 +1,7 @@ <%= turbo_frame_tag dom_id(@comment) do %>
- <%= @comment.creator.name %> + <%= link_to @comment.creator.name, user_path(@comment.creator), class: "txt-ink btn btn--plain", data: { turbo_frame: "_top" } %> <%= link_to bucket_bubble_path(@comment.bubble.bucket, @comment.bubble, anchor: "comment_#{@comment.id}"), class: "txt-undecorated" do %> <%= tag.time @comment.created_at, class: "comment__timestamp" do %> <%= @comment.created_at.strftime("%b %d") %>