%
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see
<%= t("Email Addresses") %> | <%= t("Set Email as Default") %> | <%= t("Email Actions") %> |
---|---|---|
<% if c.state == :unconfirmed %>
<%= c.path %>
<% else %>
<%= c.path %> <% end %> |
" > " aria-hidden="true" title="<%= t("Set email address as default") %>"> <% if c == @default_email_channel %> <%= t("This is the default email address") %> <% else %> <%= t("Set as default email address") %> <% end %> <% if c.state == :unconfirmed %> <%= t("This email address is unconfirmed") %> <% end %> <%= t("This email address is unconfirmed") %> | <% if c.state == :unconfirmed && (c.grants_right?(@current_user, :force_confirm) || (@real_current_user && c.grants_right?(@real_current_user, :force_confirm))) %> ">" title="<%= t('titles.confirm_email_address', "Confirm Email Address") %>"> <% end %> <% unless !@domain_root_account.edit_institution_email? && c.imported? %> " >" title="<%= t("Remove email address") %>"> <% end %> <%= t("You cannot remove your default email address") %> <% if c.active? && c.has_merge_candidates? %> ">" title="<%= t('titles.merge_users', "Another user has the same email address. Click here to combine user accounts.") %>"> <% end %> <% if c.bouncing? %> <% end %> <% if c.bounce_count > 0 && (c.grants_right?(@current_user, :reset_bounce_count) || (@real_current_user && c.grants_right?(@real_current_user, :reset_bounce_count))) %> "> " title="<%= t("Reset this email address's bounce count") %>"> <% end %> |
" aria-label="<%= t("Add Email Address") %>"><%= t('links.add_email_address', "Email Address") %> |
<%= t('headers.other_contact', "Other Contacts") %> | <%= t('headers.contact_type', "Type") %> | |
---|---|---|
<%= c.path_description %> | <%= c.path_type %> | <% if c.bouncing? %> <% if c.bounce_count > 0 && (c.grants_right?(@current_user, :reset_bounce_count) || (@real_current_user && c.grants_right?(@real_current_user, :reset_bounce_count))) %> "> " title="<%= t("Reset this contact method's bounce count") %>"> <% end %> <% end %> <% if c.state == :unconfirmed && (@user.grants_right?(@current_user, :manage_user_details) || (@real_current_user && @user.grants_right?(@real_current_user, :manage_user_details))) %> <%= t("Confirm contact method") %> <% end %> <% unless c.id == c.user.otp_communication_channel_id %> " aria-hidden="true"><%= t("Remove contact method") %> <% end %> |
" aria-label="<%= t("Add Contact Method") %>"><%= t('links.add_contact_method', "Contact Method") %> |