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


<%= gravatar_tag @user, :default => 'wavatar', :secure => true %>

<%= t(:profile_for) %> <%= @user.login %>

<%= t(:member_since) %> <%= @user.created_at.strftime('%B %-d, %Y') %>

<%= t(:profile_website) %>: <%= link_to @user.website, @user.display_website, target: '_blank' %>

<%= t(:profile_bio) %>: <%= @user.bio %>

<%= render 'list_channels' %> <% else %> <%= t(:profile_not_public) %> <% end %>