##// END OF EJS Templates
"Author" column replaced by "Assigned to" in issue list....
Jean-Philippe Lang -
r419:0ea1b712be79
parent child
Show More
@@ -262,7 +262,7 class ProjectsController < ApplicationController
262 262 @issue_count = Issue.count(:include => [:status, :project], :conditions => @query.statement)
263 263 @issue_pages = Paginator.new self, @issue_count, @results_per_page, params['page']
264 264 @issues = Issue.find :all, :order => sort_clause,
265 :include => [ :author, :status, :tracker, :project, :priority ],
265 :include => [ :assigned_to, :status, :tracker, :project, :priority ],
266 266 :conditions => @query.statement,
267 267 :limit => @issue_pages.items_per_page,
268 268 :offset => @issue_pages.current.offset
@@ -280,7 +280,7 class ProjectsController < ApplicationController
280 280 render :action => 'list_issues' and return unless @query.valid?
281 281
282 282 @issues = Issue.find :all, :order => sort_clause,
283 :include => [ :author, :status, :tracker, :priority, {:custom_values => :custom_field} ],
283 :include => [ :assigned_to, :author, :status, :tracker, :priority, {:custom_values => :custom_field} ],
284 284 :conditions => @query.statement,
285 285 :limit => Setting.issues_export_limit
286 286
@@ -292,6 +292,7 class ProjectsController < ApplicationController
292 292 l(:field_tracker),
293 293 l(:field_priority),
294 294 l(:field_subject),
295 l(:field_assigned_to),
295 296 l(:field_author),
296 297 l(:field_start_date),
297 298 l(:field_due_date),
@@ -309,7 +310,8 class ProjectsController < ApplicationController
309 310 issue.tracker.name,
310 311 issue.priority.name,
311 312 issue.subject,
312 issue.author.display_name,
313 (issue.assigned_to ? issue.assigned_to.name : ""),
314 issue.author.name,
313 315 issue.start_date ? l_date(issue.start_date) : nil,
314 316 issue.due_date ? l_date(issue.due_date) : nil,
315 317 issue.done_ratio,
@@ -51,7 +51,7
51 51 <%= sort_header_tag("#{IssueStatus.table_name}.name", :caption => l(:field_status)) %>
52 52 <%= sort_header_tag("#{Issue.table_name}.priority_id", :caption => l(:field_priority)) %>
53 53 <th><%=l(:field_subject)%></th>
54 <%= sort_header_tag("#{User.table_name}.lastname", :caption => l(:field_author)) %>
54 <%= sort_header_tag("#{User.table_name}.lastname", :caption => l(:field_assigned_to)) %>
55 55 <%= sort_header_tag("#{Issue.table_name}.updated_on", :caption => l(:field_updated_on)) %>
56 56 </tr></thead>
57 57 <tbody>
@@ -63,7 +63,7
63 63 <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <%= issue.status.name %></td>
64 64 <td align="center"><%= issue.priority.name %></td>
65 65 <td><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></td>
66 <td align="center"><%= issue.author.display_name %></td>
66 <td align="center"><%= issue.assigned_to.name if issue.assigned_to %></td>
67 67 <td align="center"><%= format_time(issue.updated_on) %></td>
68 68 </tr>
69 69 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now