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 / _issuesassignedtome.html.erb @ 1298:4f746d8966dd
History | View | Annotate | Download (1.08 KB)
| 1 | 909:cbb26bc654de | Chris | <h3><%=l(:label_assigned_to_me_issues)%> (<%= Issue.visible.open.count(:conditions => {:assigned_to_id => ([User.current.id] + User.current.group_ids)})%>)</h3> |
|---|---|---|---|
| 2 | 0:513646585e45 | Chris | |
| 3 | 1295:622f24f53b42 | Chris | <% assigned_issues = issuesassignedtome_items %>
|
| 4 | 0:513646585e45 | Chris | <%= render :partial => 'issues/list_simple', :locals => { :issues => assigned_issues } %>
|
| 5 | <% if assigned_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 | :assigned_to_id => 'me',
|
||
| 10 | :sort => 'priority:desc,updated_on:desc' %></p> |
||
| 11 | 0:513646585e45 | Chris | <% end %>
|
| 12 | |||
| 13 | <% content_for :header_tags do %>
|
||
| 14 | 909:cbb26bc654de | Chris | <%= auto_discovery_link_tag(:atom,
|
| 15 | 0:513646585e45 | Chris | {:controller => 'issues', :action => 'index', :set_filter => 1,
|
| 16 | :assigned_to_id => 'me', :format => 'atom', :key => User.current.rss_key},
|
||
| 17 | {:title => l(:label_assigned_to_me_issues)}) %>
|
||
| 18 | <% end %> |