Group events in the activity view (#12542).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10951 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2012-12-08 08:24:01 +00:00
1 parent 7222e4012d
commit 0e30724d66
10 files changed
+185 -5

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ class TimeEntry < ActiveRecord::Base
acts_as_event :title => Proc.new {|o| "#{l_hours(o.hours)} (#{(o.issue || o.project).event_title})"},
:url => Proc.new {|o| {:controller => 'timelog', :action => 'index', :project_id => o.project, :issue_id => o.issue}},
:author => :user,
:group => :issue,
:description => :comments
acts_as_activity_provider :timestamp => "#{table_name}.created_on",