peer_review_invitation.email.html.mustache 670 B

12345678910111213141516
  1. <% define_content :link do %>
  2. <%= polymorphic_url([asset.context, asset.asset.assignment, :submission], id: asset.asset.user_id) %>
  3. <% end %>
  4. <% define_content :subject do %>
  5. <%= t('#messages.peer_review_invitation.email.subject', "Assigned peer review for %{reviewee}", :reviewee => reviewee_name(asset, user))%>
  6. <% end %>
  7. <% define_content :footer_link do %>
  8. <a href="<%= content(:link) %>">
  9. <%= t :link_message, "Click here to complete your review" %>
  10. </a>
  11. <% end %>
  12. <%= 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))%>