added_to_conversation.email.html.mustache 648 B

1234567891011121314151617181920
  1. <% define_content :link do %>
  2. <%= conversation_url(asset.conversation_id) %>
  3. <% end %>
  4. <% define_content :user_name do %>
  5. <%= asset.author_short_name_with_shared_contexts(user) rescue t(:unknown_user, "Unknown User") %>
  6. <% end %>
  7. <% define_content :subject do -%>
  8. <%= t :subject, "%{user_name} just added you to a conversation in Canvas.", :user_name => content(:user_name) %>
  9. <% end %>
  10. <% define_content :footer_link do %>
  11. <a href="<%= content(:link) %>">
  12. <%= t :link_text, "View Conversation" %>
  13. </a>
  14. <% end %>
  15. <p><%= t :body, "%{user_name} just added you to a conversation in Canvas.", :user_name => content(:user_name) %></p>