<%#-- copyright OpenProject is an open source project management software. Copyright (C) 2012-2020 the OpenProject GmbH This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: Copyright (C) 2006-2017 Jean-Philippe Lang Copyright (C) 2010-2013 the ChiliProject Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. See docs/COPYRIGHT.rdoc for more details. ++#%> <% html_title l(:label_meeting_plural) %> <%= toolbar title: l(:label_meeting_plural) do %> <% if authorize_for(:meetings, :new) %>
  • <%= op_icon('button--icon icon-add') %> <%= t(:label_meeting) %>
  • <% end %> <% end %> <% if @meetings_by_start_year_month_date.empty? -%> <%= no_results_box %> <% else -%>
    <% @meetings_by_start_year_month_date.each do |year,meetings_by_start_month_date| -%> <% meetings_by_start_month_date.each do |month,meetings_by_start_date| -%>

    <%= ::I18n.t('date.month_names')[month] + " #{year}" %>

    <% meetings_by_start_date.each do |date,meetings| -%>

    " class="date"><%= format_activity_day(date) %>

    <% meetings.each do |meeting| -%>
    <%= link_to h(meeting.title), :controller => '/meetings', :action => 'show', :id => meeting %>

    <%= Meeting.human_attribute_name(:time) %>: <%= format_time meeting.start_time, false %>-<%= format_time meeting.end_time, false %>

    <%= Meeting.human_attribute_name(:location) %>: <%=h meeting.location %>

    <%= Meeting.human_attribute_name(:participants_invited) %> (<%= meeting.participants.select(&:invited).count %>): <%= format_participant_list meeting.participants.select(&:invited) %>

    <%= Meeting.human_attribute_name(:participants_attended) %> (<%= meeting.participants.select(&:attended).count %>): <%= format_participant_list meeting.participants.select(&:attended) %>

    <% end -%>
    <% end -%>
    <% end -%> <% end -%>
    <% end -%>

    <%= link_to_content_update(t(:label_today), page: @page_of_today, anchor: Date.today.strftime("%m-%d-%Y")) %> <%= pagination_links_full @meetings, :container => false %>

    <%= render :partial => 'shared/meeting_header' %>