Mercurial > hg > soundsoftware-site
comparison app/controllers/.svn/text-base/issues_controller.rb.svn-base @ 210:0579821a129a
Update to Redmine trunk rev 4802
author | Chris Cannam |
---|---|
date | Tue, 08 Feb 2011 13:51:46 +0000 |
parents | 8661b858af72 |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
128:07fa8a8b56a8 | 210:0579821a129a |
---|---|
106 @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC") | 106 @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC") |
107 @journals.each_with_index {|j,i| j.indice = i+1} | 107 @journals.each_with_index {|j,i| j.indice = i+1} |
108 @journals.reverse! if User.current.wants_comments_in_reverse_order? | 108 @journals.reverse! if User.current.wants_comments_in_reverse_order? |
109 @changesets = @issue.changesets.visible.all | 109 @changesets = @issue.changesets.visible.all |
110 @changesets.reverse! if User.current.wants_comments_in_reverse_order? | 110 @changesets.reverse! if User.current.wants_comments_in_reverse_order? |
111 @relations = @issue.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible? } | |
111 @allowed_statuses = @issue.new_statuses_allowed_to(User.current) | 112 @allowed_statuses = @issue.new_statuses_allowed_to(User.current) |
112 @edit_allowed = User.current.allowed_to?(:edit_issues, @project) | 113 @edit_allowed = User.current.allowed_to?(:edit_issues, @project) |
113 @priorities = IssuePriority.all | 114 @priorities = IssuePriority.all |
114 @time_entry = TimeEntry.new | 115 @time_entry = TimeEntry.new |
115 respond_to do |format| | 116 respond_to do |format| |