debian-mirror-gitlab/app/views/notify/access_token_expired_email.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
638 B
Text
Raw Normal View History

2020-10-24 23:57:45 +05:30
%p
= _('Hi %{username}!') % { username: sanitize_name(@user.name) }
%p
2023-03-17 16:20:25 +05:30
- if @token_names.empty?
= _('One or more of your personal access tokens has expired.')
- else
= _('The following personal access tokens have expired:')
%p
%ul
- @token_names.each do |token|
%li= token
2020-10-24 23:57:45 +05:30
%p
2023-03-17 16:20:25 +05:30
- pat_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: @target_url }
2021-09-30 23:02:18 +05:30
= html_escape(_('You can create a new one or check them in your %{pat_link_start}personal access tokens%{pat_link_end} settings.')) % { pat_link_start: pat_link_start, pat_link_end: '</a>'.html_safe }