Asciicasts by <%= @user.nickname %>

<%= render :partial => 'asciicasts/previews', :locals => { :asciicasts => @asciicasts } %> <%= paginate @asciicasts %> <% if @asciicasts.size == 0 %> <% if current_user && current_user.id == @user.id -%> You haven't recorded anything yet. <%= link_to 'Record now', docs_path(:record) %> <% else -%> <%= @user.nickname %> hasn't recorded anything yet. <% end -%> <% end -%>

<%= @user.nickname %>

<%= avatar_image_tag @user %>

<%= @user.asciicasts_count %> asciicasts

<% if current_user %>

<%= link_to 'Settings', edit_user_path %>

<% end %>