comparison .svn/pristine/e1/e1b019608202e48e45b7a91c615a2ac50c71ab6a.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 <h3><%=l(:label_assigned_to_me_issues)%> (<%= Issue.visible.open.count(:conditions => {:assigned_to_id => ([User.current.id] + User.current.group_ids)})%>)</h3>
2
3 <% assigned_issues = Issue.visible.open.find(:all,
4 :conditions => {:assigned_to_id => ([User.current.id] + User.current.group_ids)},
5 :limit => 10,
6 :include => [ :status, :project, :tracker, :priority ],
7 :order => "#{IssuePriority.table_name}.position DESC, #{Issue.table_name}.updated_on DESC") %>
8 <%= render :partial => 'issues/list_simple', :locals => { :issues => assigned_issues } %>
9 <% if assigned_issues.length > 0 %>
10 <p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues',
11 :action => 'index',
12 :set_filter => 1,
13 :assigned_to_id => 'me',
14 :sort => 'priority:desc,updated_on:desc' %></p>
15 <% end %>
16
17 <% content_for :header_tags do %>
18 <%= auto_discovery_link_tag(:atom,
19 {:controller => 'issues', :action => 'index', :set_filter => 1,
20 :assigned_to_id => 'me', :format => 'atom', :key => User.current.rss_key},
21 {:title => l(:label_assigned_to_me_issues)}) %>
22 <% end %>