To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / my / blocks / _issuesreportedbyme.html.erb @ 1298:4f746d8966dd
History | View | Annotate | Download (1.09 KB)
| 1 | 0:513646585e45 | Chris | <h3><%=l(:label_reported_issues)%> (<%= Issue.visible.count(:conditions => { :author_id => User.current.id }) %>)</h3> |
|---|---|---|---|
| 2 | |||
| 3 | 1295:622f24f53b42 | Chris | <% reported_issues = issuesreportedbyme_items %>
|
| 4 | 0:513646585e45 | Chris | <%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %>
|
| 5 | <% if reported_issues.length > 0 %>
|
||
| 6 | <p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', |
||
| 7 | 909:cbb26bc654de | Chris | :action => 'index',
|
| 8 | :set_filter => 1,
|
||
| 9 | :status_id => '*',
|
||
| 10 | :author_id => 'me',
|
||
| 11 | :sort => 'updated_on:desc' %></p> |
||
| 12 | 0:513646585e45 | Chris | <% end %>
|
| 13 | |||
| 14 | <% content_for :header_tags do %>
|
||
| 15 | 909:cbb26bc654de | Chris | <%= auto_discovery_link_tag(:atom,
|
| 16 | 0:513646585e45 | Chris | {:controller => 'issues', :action => 'index', :set_filter => 1,
|
| 17 | :author_id => 'me', :format => 'atom', :key => User.current.rss_key},
|
||
| 18 | {:title => l(:label_reported_issues)}) %>
|
||
| 19 | <% end %> |