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:
@@ -63,6 +63,11 @@ module Redmine
|
||||
event_datetime.to_date
|
||||
end
|
||||
|
||||
def event_group
|
||||
group = event_options[:group] ? send(event_options[:group]) : self
|
||||
group || self
|
||||
end
|
||||
|
||||
def event_url(options = {})
|
||||
option = event_options[:url]
|
||||
if option.is_a?(Proc)
|
||||
|
||||
Reference in New Issue
Block a user