22 lines
714 B
Plaintext
22 lines
714 B
Plaintext
<% remove_profile_url_in_layout = true %>
|
|
|
|
<% define_content :link do %>
|
|
<% if user&.account&.primary_domain&.host %>
|
|
<%= url_for({ controller: :profile, action: :settings, host: user.account.primary_domain.host }) %>
|
|
<% else %>
|
|
<%= settings_profile_url %>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
<%= t "Access Token Created or Regenerated" %>
|
|
<% end %>
|
|
|
|
<%= t "A Canvas security token was just generated for your account. If you requested a user token, no further action is necessary. If you did not request a token or would like to manage your canvas access tokens, you can do so here:" %>
|
|
|
|
<div>
|
|
<a href="<%= content(:link) %>">
|
|
<%= t "Manage User Settings" %>
|
|
</a>
|
|
</div>
|