summaryrefslogtreecommitdiff
path: root/app/views/notify/access_token_expired_email.text.erb
blob: 6f6a9d38192418ed08e093fc1b51d9b5e684ed72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<%= _('Hi %{username}!') % { username: sanitize_name(@user.name) } %>

<%- if @token_names.empty? -%>
<%= _('One or more of your personal access tokens have expired.') %>
<%- else -%>
<%= _('The following personal access tokens have expired:') %>

<%- @token_names.each do |token| -%>
  - <%= token %>
<%- end -%>
<%- end -%>

<%= _('You can create a new one or check them in your personal access tokens settings %{pat_link}.') % { pat_link: @target_url } %>