<%#-- copyright OpenProject is an open source project management software. Copyright (C) 2012-2024 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-2013 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 COPYRIGHT and LICENSE files for more details. ++#%> <%= render layout: 'mailer/spacer_table' do %> <%= render partial: 'mailer/mailer_header', locals: { user: @user, summary: I18n.t('meeting.email.rescheduled.summary', title: @meeting.title, actor: @actor), bottom_spacing: false } %> <%= render layout: 'mailer/border_table' do %> <%= placeholder_cell('24px', vertical: true) %> <% if @meeting.location.present? %> <% end %> <% if @meeting.participants.exists? %> <% end %>
<%= t('meeting.email.rescheduled.old_date_time') %> <%= format_time_as_date @changes[:old_start] %> <%= format_time @changes[:old_start], false %> - <%= format_time (@changes[:old_start] + @changes[:old_duration].hours), false %> <%= Time.zone %>
<%= t('meeting.email.rescheduled.new_date_time') %> <%= format_time_as_date @changes[:new_start] %> <%= format_time @changes[:new_start], false %> - <%= format_time (@changes[:new_start] + @changes[:new_duration].hours), false %> <%= Time.zone %>
<%= Meeting.human_attribute_name(:location) %> <%= auto_link @meeting.location %>
<%= Meeting.human_attribute_name(:project) %> <%= link_to @meeting.project.name, project_url(@meeting.project) %>
<%= Meeting.human_attribute_name(:author) %> <%= @meeting.author %>
<%= Meeting.human_attribute_name(:participants_invited) %> <%= @meeting.participants.invited.sort.join("; ") %>
<%= Meeting.human_attribute_name(:participants_attended) %> <%= @meeting.participants.attended.sort.join("; ") %>
<% end %> <%= placeholder_cell('20px', vertical: false) %>
<%= action_button do %> <%= link_to I18n.t(:'meeting.email.open_meeting_link'), meeting_url(@meeting), target: '_blank', style: "color: #333333; text-decoration: none; font-size: 14px;white-space: nowrap;" %> <% end %> <% end %>