summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_issues_assigned_to_me.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/blocks/_issues_assigned_to_me.rhtml')
-rw-r--r--app/views/my/blocks/_issues_assigned_to_me.rhtml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/my/blocks/_issues_assigned_to_me.rhtml b/app/views/my/blocks/_issues_assigned_to_me.rhtml
new file mode 100644
index 000000000..2a4e2a05d
--- /dev/null
+++ b/app/views/my/blocks/_issues_assigned_to_me.rhtml
@@ -0,0 +1,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 %>