1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-07 08:01:31 +00:00
redmine/app/views/my/blocks/_issuesreportedbyme.html.erb
Jean-Philippe Lang 1faca3a1dd Show open issues only in "Reported Issues" on My page (#23472).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@15772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-31 16:58:17 +00:00

16 lines
690 B
Plaintext

<% reported_issues = issuesreportedbyme_items %>
<h3>
<%= link_to l(:label_reported_issues),
issues_path(:set_filter => 1, :status_id => 'o', :author_id => 'me', :sort => 'updated_on:desc') %>
(<%= reported_issues.limit(nil).count %>)
</h3>
<%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues.to_a } %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom,
{:controller => 'issues', :action => 'index', :set_filter => 1,
:author_id => 'me', :format => 'atom', :key => User.current.rss_key},
{:title => l(:label_reported_issues)}) %>
<% end %>