<% if @user.public_flag == true %>

  <div class="FR">
    <br><br>
    <%= gravatar_tag @user, :default => 'wavatar', :secure => true %>
  </div>

  <h2><%= t(:profile_for) %> <%= @user.login %></h2>
  <%= t(:member_since) %> <%= @user.created_at.strftime('%B %-d, %Y') %>
  <br><br>
  <%= t(:profile_website) %>: <%= link_to @user.website, @user.display_website, target: '_blank' %>
  <br><br>
  <%= t(:profile_bio) %>: <%= @user.bio %>
  <br><br>
  <%= render 'list_channels' %>

<% else %>
  <%= t(:profile_not_public) %>
<% end %>

