diff options
Diffstat (limited to 'app/views/my/blocks/_issuesreportedbyme.rhtml')
-rw-r--r-- | app/views/my/blocks/_issuesreportedbyme.rhtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/my/blocks/_issuesreportedbyme.rhtml b/app/views/my/blocks/_issuesreportedbyme.rhtml index aa6e0e0eb..affaa1e76 100644 --- a/app/views/my/blocks/_issuesreportedbyme.rhtml +++ b/app/views/my/blocks/_issuesreportedbyme.rhtml @@ -1,6 +1,7 @@ -<h3><%=l(:label_reported_issues)%></h3> +<h3><%=l(:label_reported_issues)%> (<%= Issue.visible.count(:conditions => { :author_id => User.current.id }) %>)</h3> + <% reported_issues = Issue.visible.find(:all, - :conditions => { :author_id => user.id }, + :conditions => { :author_id => User.current.id }, :limit => 10, :include => [ :status, :project, :tracker ], :order => "#{Issue.table_name}.updated_on DESC") %> |