@@ -1,14 +1,11 | |||||
1 | <h3><%=l(:label_assigned_to_me_issues)%> (<%= Issue.visible.open.count(:conditions => {:assigned_to_id => ([User.current.id] + User.current.group_ids)})%>)</h3> |
|
1 | <h3> | |
|
2 | <%= link_to l(:label_assigned_to_me_issues), | |||
|
3 | issues_path(:set_filter => 1, :assigned_to_id => 'me', :sort => 'priority:desc,updated_on:desc') %> | |||
|
4 | (<%= Issue.visible.open.count(:conditions => {:assigned_to_id => ([User.current.id] + User.current.group_ids)})%>) | |||
|
5 | </h3> | |||
2 |
|
6 | |||
3 | <% assigned_issues = issuesassignedtome_items %> |
|
7 | <% assigned_issues = issuesassignedtome_items %> | |
4 | <%= render :partial => 'issues/list_simple', :locals => { :issues => assigned_issues } %> |
|
8 | <%= 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 | :action => 'index', |
|
|||
8 | :set_filter => 1, |
|
|||
9 | :assigned_to_id => 'me', |
|
|||
10 | :sort => 'priority:desc,updated_on:desc' %></p> |
|
|||
11 | <% end %> |
|
|||
12 |
|
9 | |||
13 | <% content_for :header_tags do %> |
|
10 | <% content_for :header_tags do %> | |
14 | <%= auto_discovery_link_tag(:atom, |
|
11 | <%= auto_discovery_link_tag(:atom, |
@@ -1,15 +1,11 | |||||
1 | <h3><%=l(:label_reported_issues)%> (<%= Issue.visible.count(:conditions => { :author_id => User.current.id }) %>)</h3> |
|
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.count(:conditions => { :author_id => User.current.id }) %>) | |||
|
5 | </h3> | |||
2 |
|
6 | |||
3 | <% reported_issues = issuesreportedbyme_items %> |
|
7 | <% reported_issues = issuesreportedbyme_items %> | |
4 | <%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %> |
|
8 | <%= 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 | :action => 'index', |
|
|||
8 | :set_filter => 1, |
|
|||
9 | :status_id => '*', |
|
|||
10 | :author_id => 'me', |
|
|||
11 | :sort => 'updated_on:desc' %></p> |
|
|||
12 | <% end %> |
|
|||
13 |
|
9 | |||
14 | <% content_for :header_tags do %> |
|
10 | <% content_for :header_tags do %> | |
15 | <%= auto_discovery_link_tag(:atom, |
|
11 | <%= auto_discovery_link_tag(:atom, |
@@ -1,11 +1,8 | |||||
1 | <h3><%=l(:label_watched_issues)%> (<%= Issue.visible.watched_by(user.id).count %>)</h3> |
|
1 | <h3> | |
2 | <% watched_issues = issueswatched_items %> |
|
2 | <%= link_to l(:label_watched_issues), | |
|
3 | issues_path(:set_filter => 1, :watcher_id => 'me', :sort => 'updated_on:desc') %> | |||
|
4 | (<%= Issue.visible.watched_by(user.id).count %>) | |||
|
5 | </h3> | |||
3 |
|
6 | |||
|
7 | <% watched_issues = issueswatched_items %> | |||
4 | <%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %> |
|
8 | <%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %> | |
5 | <% if watched_issues.length > 0 %> |
|
|||
6 | <p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', |
|
|||
7 | :action => 'index', |
|
|||
8 | :set_filter => 1, |
|
|||
9 | :watcher_id => 'me', |
|
|||
10 | :sort => 'updated_on:desc' %></p> |
|
|||
11 | <% end %> |
|
General Comments 0
You need to be logged in to leave comments.
Login now