15 lines
564 B
Plaintext
15 lines
564 B
Plaintext
<% define_content :link do %>
|
|
http://<%= HostUrl.context_host(asset.context) %>/<%= asset.context.class.to_s.downcase.pluralize %>/<%= asset.context_id %>/assignments/<%= asset.id %>
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
<%= t :subject, "Assignment Changed: %{title}, %{course}", :title => asset.title, :course => asset.context.name %>
|
|
<% end %>
|
|
|
|
<%= t :body, <<-BODY, :title => asset.title, :course => asset.context.name, :url => content(:link)
|
|
The assignment "%{title}" for %{course} has changed.
|
|
|
|
Click here to view the assignment:
|
|
%{url}
|
|
BODY
|
|
%> |