8 lines
603 B
Plaintext
8 lines
603 B
Plaintext
<% define_content :link do -%>
|
|
<%= polymorphic_url([asset.group.context, :groups]) %>
|
|
<% end -%>
|
|
<% if asset.group.context.class.to_s == 'Account' -%>
|
|
<%= t('account_group', "Canvas Alert - Group Membership Rejected: %{group_name} for the account %{account_name}.", :group_name => asset.group.name, :account_name => asset.group.context.name) %>
|
|
<% elsif asset.group.context.class.to_s == 'Course' -%>
|
|
<%= t('course_group', "Canvas Alert - Group Membership Rejected: %{group_name} for the course %{course_name}.", :group_name => asset.group.name, :course_name => asset.group.context.name) %>
|
|
<% end -%> |