19 lines
595 B
Plaintext
19 lines
595 B
Plaintext
<% define_content :link do %>
|
|
<%= course_users_url(asset.course_id) %>
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
<%= t :subject, "%{user} accepted the Course Invitation", :user => asset.user.name %>
|
|
<% end %>
|
|
|
|
<% define_content :footer_link do %>
|
|
<a href="<%= content(:link) %>">
|
|
<%= t :details, "See the list of current enrollments" %>
|
|
</a>
|
|
<% end %>
|
|
|
|
<p>
|
|
<%= t "%{user} just accepted their invitation to participate in the course, %{course}. Course role: %{role_type}",
|
|
:user => asset.user.name, :course => asset.course.name, :role_type => asset.readable_role_name %>
|
|
</p>
|