% define_content :link do %> <%= course_url(asset) %> <% end %> <% define_content :subject do %> <%= t :subject, "New Course" %> <% end %> <% define_content :footer_link do %> <%= t :link, "Click here to view the course" %> <% end %>
<%= t :title, "New Course for %{account}", :account => asset.root_account.name %>
<%= t :body, "A course, %{course}, has been added for the account %{account}", :course => asset.name, :account => asset.root_account.name %>
<% if !asset.teachers.empty? %><%= before_label :teachers, "Teachers" %>