Improve partial for empty lists
[shapado:shapado.git] / app / views / users / show / _user_activity_content.html.haml
1 -if @activities.empty?
2   = render "shared/empty", :type => "activities", :url => ""
3 -else
4   - @resources.each do |activity|
5     = render "activities/activity", :activity => activity
6
7 #additional_info
8   = will_paginate @resources
9
10   .clear