trunk moved from /trunk/redmine to /trunk
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
eabc04d836
commit
96f83cc8f0
472 files changed
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<h3><%=l(:label_document_plural)%></h3>
|
||||
|
||||
<ul>
|
||||
<% for document in Document.find :all,
|
||||
:limit => 10,
|
||||
:conditions => "documents.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
|
||||
:include => [:project] %>
|
||||
<li>
|
||||
<b><%= link_to document.title, :controller => 'documents', :action => 'show', :id => document %></b>
|
||||
<br />
|
||||
<%= truncate document.description, 150 %><br />
|
||||
<em><%= format_time(document.created_on) %></em><br />
|
||||
</li>
|
||||
<% end unless @user.projects.empty? %>
|
||||
</ul>
|
||||
Reference in new issue
Block a user