bborn/communityengine

View on GitHub
app/views/friendships/accepted.html.haml

Summary

Maintainability
Test Coverage
-@page_title = :accepted_friendships.l(:count => @friend_count)
= render :partial => 'users/profile_user_info_sidebar'

-box :id => "friends" do
  = link_to "(#{@pending_friendships_count} "+:pending.l+")", pending_user_friendships_path(@user) if  (@pending_friendships_count > 0)
  %ul.list-unstyled.thumbnails
    = render :partial => "friendships/friendship", :collection => @friendships
  = paginate @friendships, :theme => 'bootstrap'