thingspeak/app/views/users/profile.html.erb

21 lines
537 B
Plaintext
Raw Normal View History

<% if @user.public_flag == true %>
<div class="FR">
2014-03-14 00:16:35 +01:00
<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') %>
2014-03-14 00:16:35 +01:00
<br><br>
2014-10-27 17:52:15 +01:00
<%= t(:profile_website) %>: <%= link_to @user.website, @user.display_website, target: '_blank' %>
2014-03-14 00:16:35 +01:00
<br><br>
<%= t(:profile_bio) %>: <%= @user.bio %>
2014-07-31 21:35:21 +02:00
<br><br>
<%= render 'list_channels' %>
<% else %>
<%= t(:profile_not_public) %>
2014-07-31 21:35:21 +02:00
<% end %>