2011-07-30 01:46:41 +08:00
|
|
|
<% define_content :link do %>
|
2011-08-31 01:49:00 +08:00
|
|
|
http://<%= HostUrl.context_host(asset.context) %>/conversations/<%= asset.conversation_id %>
|
2011-07-30 01:46:41 +08:00
|
|
|
<% end %>
|
|
|
|
<% define_content :user_name do %>
|
2011-10-21 07:19:13 +08:00
|
|
|
<%= asset.author.short_name_with_shared_contexts(user) rescue t(:unknown_user, "Unknown User") %>
|
2011-07-30 01:46:41 +08:00
|
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
|
|
<%= t :subject, "%{user_name} just added you to a conversation in Canvas.", :user_name => content(:user_name) %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= t :body, "%{user_name} just added you to a conversation in Canvas.", :user_name => content(:user_name) %>
|