Skip to content
Snippets Groups Projects
Commit 4a369620 authored by Monica Cellio's avatar Monica Cellio
Browse files

removed website and twitter sections, moved discord below extra fields

parent 32428a8c
No related branches found
No related tags found
No related merge requests found
......@@ -24,28 +24,6 @@
<div class="grid--cell is-9-lg is-12">
<div class="h-p-0 h-p-t-0">
<div class="profile-text">
<p>
<% if @user.website.present? %>
<% unless !user_signed_in? && !@user.community_user.privilege?('unrestricted') %>
<span class="h-m-r-4">
<i class="fas fa-link"></i>
<%= link_to @user.website_domain, @user.website, rel: 'nofollow',
'aria-label': "Visit website of #{rtl_safe_username(@user)} at #{@user.website_domain}" %>
</span>
<% end %>
<% end %>
<% if @user.twitter.present? %>
<span class="h-m-r-4">
<i class="fab fa-twitter"></i> <%= link_to @user.twitter, "https://twitter.com/#{@user.twitter}",
'aria-label': "Visit twitter account of #{rtl_safe_username(@user)}" %>
</span>
<% end %>
<% if @user.discord.present? %>
<span class="h-m-r-4">
<i class="fab fa-discord h-m-r-1"></i> <%= @user.discord %>
</span>
<% end %>
</p>
<% effective_profile = raw(sanitize(@user.profile&.strip || '', scrubber: scrubber)) %>
<% if effective_profile.blank? %>
......@@ -79,6 +57,14 @@
<% end %>
<% end %>
<p>
<% if @user.discord.present? %>
<span class="h-m-r-4">
<i class="fab fa-discord h-m-r-1"></i> <%= @user.discord %>
</span>
<% end %>
</p>
<div class="button-list h-p-2">
<% if user_signed_in? %>
<%= link_to new_subscription_path(type: 'user', qualifier: @user.id, return_to: request.path), class: "button is-outlined is-small" do %>
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment