-@page_title = :users_blog.l(:user => @user.login) = render :partial => 'author_profile', :locals => {:user => @user} - unless @popular_posts.empty? -widget :id => "posts" do %h4 .small=:popular_posts.l %ul.list-unstyled - @popular_posts.each do |post| %li= link_to truncate(post.title, :length => 75), user_post_path(@user, post) %h2 = @category ? "» #{link_to(@category.name.upcase, users_posts_in_category_path(@user, @category.name))}".html_safe : '' = link_to( :new_post.l, new_user_post_path(@user), {:class => "right"}) if @is_current_user = render :partial => 'post', :collection => @posts = paginate @posts, :theme => 'bootstrap'