|
|
|
@ -6,17 +6,24 @@ |
|
|
|
|
|
|
|
|
|
<h2><%= l(:label_meeting_plural)%></h2> |
|
|
|
|
|
|
|
|
|
<% if @meetings.empty? -%> |
|
|
|
|
<% if @meetings_by_start_year_month_date.empty? -%> |
|
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p> |
|
|
|
|
<% else -%> |
|
|
|
|
<div class="meetings"> |
|
|
|
|
<% @meetings.each do |meeting| -%> |
|
|
|
|
<% @meetings_by_start_year_month_date.sort.reverse.each do |year,meetings_by_start_month_date| -%> |
|
|
|
|
<% meetings_by_start_month_date.sort.reverse.each do |month,meetings_by_start_date| -%> |
|
|
|
|
<h3 class="month_year"><%= "#{month_name(month)} #{year}" %></h3> |
|
|
|
|
<% meetings_by_start_date.sort.reverse.each do |date,meetings| -%> |
|
|
|
|
<h3 class="date"><%= format_activity_day(date) %></h3> |
|
|
|
|
<% meetings.each do |meeting| -%> |
|
|
|
|
<div class="meeting" id="meeting-<%= meeting.id %>"> |
|
|
|
|
<h3><%= format_time meeting.start_time %>: <%= link_to h(meeting.title), :controller => 'meetings', :action => 'show', :id => meeting %></h3> |
|
|
|
|
<p class="author"><%= authoring meeting.created_at, meeting.author %></p> |
|
|
|
|
<p><strong><%= l(:field_location) %></strong>: <%=h meeting.location %> - <strong><%= l(:field_duration) %></strong>: <%= l_hours(meeting.duration) %></p> |
|
|
|
|
<span class="time"><%= format_time meeting.start_time, false %>-<%= format_time meeting.end_time, false %></span> <%= link_to h(meeting.title), :controller => 'meetings', :action => 'show', :id => meeting %> |
|
|
|
|
<p><strong><%= l(:field_location) %></strong>: <%=h meeting.location %> |
|
|
|
|
<p><strong><%= l(:field_participants) %></strong> (<%= meeting.participants.count %>): <%= meeting.participants.sort.join(", ") %></p> |
|
|
|
|
</div> |
|
|
|
|
<% end -%> |
|
|
|
|
<% end -%> |
|
|
|
|
<% end -%> |
|
|
|
|
<% end -%> |
|
|
|
|
</div> |
|
|
|
|
<% end -%> |