Mercurial > hg > soundsoftware-site
view app/views/activities/_busy_institution.html.erb @ 1559:21098b932cb8 feature_1136
Separate out git repo dir and work dir (so as to serve repo dir only)
author | Chris Cannam |
---|---|
date | Thu, 14 Jan 2016 10:27:25 +0000 |
parents | 967fb7e62b1d |
children |
line wrap: on
line source
<% events = @events_by_day %> <% if (events.nil?) activity = Redmine::Activity::Fetcher.new(User.anonymous) days = Setting.activity_days_default.to_i events = activity.events(Date.today - days, Date.today + 1) end %> <% if events.empty? %> <% else %> <ul> <% for institution in busy_institutions(events, 5) %> <li class="busy"> <span class="title"> <%= link_to h(institution), { :controller => 'activities', :institution => institution } %> </span> </li> <% end %> </ul> <% end %>