summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_issuesassignedtome.rhtml
blob: 2a4e2a05d89956470772fb35e7bcbc159a14c867 (plain)
1
2
3
4
5
6
7
8
9
10
<h3><%=l(:label_assigned_to_me_issues)%></h3>
<% assigned_issues = Issue.find(:all, 
                                :conditions => ["assigned_to_id=?", user.id],
                                :limit => 10, 
                                :include => [ :status, :project, :tracker ], 
                                :order => 'issues.updated_on DESC') %>
<%= render :partial => 'issues/list_simple', :locals => { :issues => assigned_issues } %>
<% if assigned_issues.length > 0 %>
<p><%=lwr(:label_last_updates, assigned_issues.length)%></p>
<% end %>