blueprint_content_added.email.html.mustache 590 B

12345678910111213141516171819
  1. <% define_content :link do %>
  2. <%= polymorphic_url(asset.context, :anchor => asset.notification_link_anchor) %>
  3. <% end %>
  4. <% define_content :subject do %>
  5. <%= t :subject, "Blueprint Sync: %{name}", :name => asset.context.name %>
  6. <% end %>
  7. <% define_content :footer_link do %>
  8. <a href="<%= content(:link) %>">
  9. <%= t :details_link, "View changes"%>
  10. </a>
  11. <% end %>
  12. <p><%= t :body, "Blueprint course changes have been synced to %{name}.", :name => asset.context.name %></p>
  13. <% if asset.master_migration.comment.present? %>
  14. <p>"<%= asset.master_migration.comment %>"</p>
  15. <% end %>