12345678910111213141516 |
- <% define_content :link do %>
- <%= polymorphic_url([asset.context, asset.asset.assignment, :submission], id: asset.asset.user_id) %>
- <% end %>
- <% define_content :subject do %>
- <%= t('#messages.peer_review_invitation.email.subject', "Assigned peer review for %{reviewee}", :reviewee => reviewee_name(asset, user))%>
- <% end %>
- <% define_content :footer_link do %>
- <a href="<%= content(:link) %>">
- <%= t :link_message, "Click here to complete your review" %>
- </a>
- <% end %>
- <%= t('#messages.peer_review_invitation.email.body', "You've been invited to peer review %{reviewee}. Follow the link below to review them!", :reviewee => reviewee_name(asset, user))%>
|