|
|
|
@ -42,12 +42,11 @@ See doc/COPYRIGHT.md for more details. |
|
|
|
|
<h3 id="<%= date.strftime("%m-%d-%Y") %>" class="date"><%= format_activity_day(date) %></h3> |
|
|
|
|
<dl class="meetings"> |
|
|
|
|
<% meetings.each do |meeting| -%> |
|
|
|
|
<dt class="meeting icon-context" id="meeting-<%= meeting.id %>"> |
|
|
|
|
<%= avatar meeting.author, :size => "24" %> |
|
|
|
|
<span class="time"><%= format_time meeting.start_time, false %>-<%= format_time meeting.end_time, false %></span> |
|
|
|
|
<dt class="meeting" id="meeting-<%= meeting.id %>"> |
|
|
|
|
<%= link_to h(meeting.title), :controller => '/meetings', :action => 'show', :id => meeting %> |
|
|
|
|
</dt> |
|
|
|
|
<dd class="meeting" id="meeting-<%= meeting.id %>"> |
|
|
|
|
<p><strong><%= Meeting.human_attribute_name(:time) %></strong>: <%= format_time meeting.start_time, false %>-<%= format_time meeting.end_time, false %></p> |
|
|
|
|
<p><strong><%= Meeting.human_attribute_name(:location) %></strong>: <%=h meeting.location %></p> |
|
|
|
|
<p><strong><%= Meeting.human_attribute_name(:participants_invited) %></strong> (<%= meeting.participants.select(&:invited).count %>): <%= format_participant_list meeting.participants.select(&:invited) %></p> |
|
|
|
|
<p><strong><%= Meeting.human_attribute_name(:participants_attended) %></strong> (<%= meeting.participants.select(&:attended).count %>): <%= format_participant_list meeting.participants.select(&:attended) %></p> |
|
|
|
|