enrollment_notification.sms.mustache 592 B

12345678910
  1. <%= t "You've been enrolled in the course, %{course}.", :course => asset.course.name %>
  2. <%= t "Course role: %{role_type}", :role_type => asset.readable_role_name %>
  3. <% email = asset.user.email; login = (asset.user.pseudonym.unique_id rescue "none") %>
  4. <%= before_label :name, "Name" %> <%= asset.user.name %>
  5. <%= before_label :email, "Email" %> <%= asset.user.email %>
  6. <% if email != login %><%= before_label :username, "Username" %> <%= asset.user.pseudonym.unique_id rescue t(:none, "none") %><% end %>
  7. <%= t :details, "More info at %{url}", :url => HostUrl.context_host(asset.course) %>