Customizing "My page" and default "My page" presets » OLD__issuesreportedbyme.html.erb
| 1 |
<h3>
|
|---|---|
| 2 |
<%= link_to l(:label_reported_issues), |
| 3 |
issues_path(:set_filter => 1, :status_id => '*', :author_id => 'me', :sort => 'updated_on:desc') %> |
| 4 |
(<%= Issue.visible.where(:author_id => User.current.id).count %>) |
| 5 |
</h3>
|
| 6 |
|
| 7 |
<% reported_issues = issuesreportedbyme_items %> |
| 8 |
<%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %> |
| 9 |
|
| 10 |
<% content_for :header_tags do %> |
| 11 |
<%= auto_discovery_link_tag(:atom, |
| 12 |
{:controller => 'issues', :action => 'index', :set_filter => 1, |
| 13 |
:author_id => 'me', :format => 'atom', :key => User.current.rss_key}, |
| 14 |
{:title => l(:label_reported_issues)}) %> |
| 15 |
<% end %> |