summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_issuesreportedbyme.html.erb
blob: 91557c03583af28c664d56f1de678c30dc163ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<% 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 %>