diff --git a/app/views/dashboards/_subject.html.erb b/app/views/dashboards/_subject.html.erb index 4f5de533ea9..ed0bdc8a370 100644 --- a/app/views/dashboards/_subject.html.erb +++ b/app/views/dashboards/_subject.html.erb @@ -26,7 +26,7 @@ <%= icon_tag("link", color: :primary, class: "w-6 text-orange mr-3") %>

<%= link_to( - user.homepage_url, + truncate(user.homepage_url, length: 20), user.homepage_url, rel: "nofollow" ) diff --git a/app/views/profiles/show.html.erb b/app/views/profiles/show.html.erb index db4fce982ab..e4d622bf449 100644 --- a/app/views/profiles/show.html.erb +++ b/app/views/profiles/show.html.erb @@ -98,7 +98,7 @@

<%= link_to( - @user.homepage_url, + truncate(@user.homepage_url,length: 20), @user.homepage_url, rel: "nofollow", class: "profile__header__attribute t-link--black"