2013-03-08 15:04:37 -05:00
|
|
|
<h2><%= @user.username %></h2>
|
|
|
|
|
2014-11-27 13:51:13 -05:00
|
|
|
<% unless @restrict_fields %>
|
2014-06-13 14:54:27 -04:00
|
|
|
<p><%= raw @user.user_profile.bio_processed %></p>
|
2014-11-27 13:51:13 -05:00
|
|
|
<% end %>
|
2013-03-08 15:04:37 -05:00
|
|
|
|
|
|
|
<% content_for :head do %>
|
2014-11-27 13:51:13 -05:00
|
|
|
<% if @restrict_fields %>
|
|
|
|
<%= crawlable_meta_data(title: @user.username, image: @user.small_avatar_url) %>
|
|
|
|
<% else %>
|
|
|
|
<%= crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %>
|
|
|
|
<% end %>
|
2013-03-08 15:04:37 -05:00
|
|
|
<% end %>
|
2013-07-08 01:55:43 -04:00
|
|
|
|
2014-11-27 13:51:13 -05:00
|
|
|
<% content_for :title do %>
|
|
|
|
<%= t("js.user.profile")%> - <%= @user.username %>
|
|
|
|
<% end %>
|