<%=l(:label_document_plural)%>
<% for document in Document.find :all,
:limit => 10,
:conditions => "documents.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
:include => [:project] %>
-
<%= link_to document.title, :controller => 'documents', :action => 'show', :id => document %>
<%= truncate document.description, 150 %>
<%= format_time(document.created_on) %>
<% end unless @user.projects.empty? %>