new_context_group_membership.sms.mustache 561 B

12345678910
  1. <%=
  2. case asset.group.context_type
  3. when 'Account'
  4. t :body_account, "You've been added to a new group for the account %{account}. The name of the group is %{group_name}.", :account => asset.group.context.name, :group_name => asset.group.name
  5. else
  6. t :body_course, "You've been added to a new group for the course %{course}. The name of the group is %{group_name}.", :course => asset.group.context.name, :group_name => asset.group.name
  7. end
  8. %>
  9. <%= t :details, "More info at %{url}", :url => HostUrl.context_host(asset.group.context) %>