pseudonym_registration.email.mustache 772 B

123456789101112131415
  1. <% p = asset.is_a?(Pseudonym) ? asset : asset.pseudonym %>
  2. <% cc = asset.is_a?(CommunicationChannel) ? asset : (p.communication_channel || p.user.communication_channel) %>
  3. <% define_content :link do %>
  4. <%= p.user.registered? ? confirm_change_password_url(p, cc.confirmation_code) : registration_confirmation_url(cc.confirmation_code) %>
  5. <% end %>
  6. <% define_content :subject do %>
  7. <%= t :subject, "Finish Registration: Canvas" %>
  8. <% end %>
  9. <%= t :body, "You have been registered for a Canvas account at %{account}! Before you can log in and start using Canvas, you'll need to finish the configuration process.", :account => p.account.display_name %>
  10. <%= t :link_message, "To finish the registration process, please visit the following url:" %>
  11. <%= content :link %>