Revision 1020:e816ffefcb71 app/views
| app/views/activities/_busy_institution.html.erb | ||
|---|---|---|
| 1 | 1 |
<% events = @events_by_day %> |
| 2 | 2 |
<% if (events.nil?) |
| 3 | 3 |
activity = Redmine::Activity::Fetcher.new(User.current) |
| 4 |
events = activity.events(Date.today - 14, Date.today + 1) |
|
| 4 |
days = Setting.activity_days_default.to_i |
|
| 5 |
events = activity.events(Date.today - days, Date.today + 1) |
|
| 5 | 6 |
end |
| 6 | 7 |
%> |
| 7 | 8 |
|
Also available in: Unified diff