canvas-lms/app/messages/appointment_group_published...

10 lines
514 B
Plaintext

<% define_content :link do %>
<%= appointment_group_url(asset) %>
<% end %>
<% define_content :subject do %>
<%= t('subject', 'Appointment "%{appointment_name}" is available for signup (%{course})', :appointment_name => asset.title, :course => asset.contexts_for_user(user).map(&:name).join(", ")) %>
<% end %>
<%= t :message, 'Time slots for "%{appointment_name}" are now available for signup (%{dates}).', :appointment_name => asset.title, :dates => date_string(asset.start_at, asset.end_at, :no_words) %>