canvas-lms/app/messages/account_user_notification.e...

12 lines
589 B
Plaintext

<% define_content :link do %>
<%= HostUrl.protocol %>://<%= HostUrl.context_host(asset.account) %>/accounts/<%= asset.account_id %>
<% end %>
<% define_content :subject do %>
<%= t :subject, "Account Admin Notification" %>
<% end %>
<%= t('#messages.account_user_registration.email.added_message', "You've been added as an %{role_type} to the account %{account} at %{website}.", :role_type => asset.readable_type, :account => asset.account.name, :website => HostUrl.context_host(asset.account)) %>
<%= t(:url_info, "Visit the account page here:\n%{url}", :url => content(:link)) %>