20 lines
879 B
Plaintext
20 lines
879 B
Plaintext
<% define_content :link do %>
|
|
<%= appointment_groups_url %>
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
<%= t('subject', 'Appointments for "%{appointment_name}" have been canceled (%{course})', :appointment_name => asset.title, :course => asset.contexts_for_user(user).map(&:name).join(", ")) %>
|
|
<% end %>
|
|
|
|
<%= t :message, 'All appointments for "%{appointment_name}" have been canceled.', :appointment_name => asset.title %>
|
|
|
|
<%= before_label :details, "Appointment details" %>
|
|
<%= before_label :dates, "Date(s)" %> <%= date_string(asset.start_at, asset.end_at, :no_words) %>
|
|
<%= before_label :course, "Course" %> <%=
|
|
asset.participant_type == 'Group' ?
|
|
asset.contexts.first.name :
|
|
asset.contexts_for_user(user).map(&:name).join(", ") %><br>
|
|
|
|
<%= before_label :cancel_reason, "Reason for canceling" %>
|
|
<%= data.cancel_reason || t(:no_reason_given, "none given") %>
|