diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index ec0370b0f..d8f3ed018 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -26,10 +26,13 @@

<% if @user.website.present? %> + <% unless !user_signed_in? && !@user.community_user.privilege?('unrestricted') %> - <%= link_to @user.website_domain, @user.website, rel: 'nofollow', - 'aria-label': "Visit website of #{rtl_safe_username(@user)} at #{@user.website_domain}" %> + + <%= link_to @user.website_domain, @user.website, rel: 'nofollow', + 'aria-label': "Visit website of #{rtl_safe_username(@user)} at #{@user.website_domain}" %> + <% end %> <% end %> <% if @user.twitter.present? %>