Welcome to mirror list, hosted at ThFree Co, Russian Federation.

resource_access_tokens_about_to_expire_email.html.haml « notify « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e4e34f6c8eee3b32e20b25d53754c18845f882f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%p
  = _('Hi %{username}!') % { username: sanitize_name(@user.name) }
%p
  = _('One or more of your resource access tokens will expire in %{days_to_expire} or less:') % { days_to_expire: pluralize(@days_to_expire, _('day')) }
%p
  #{@resource.class.name.titleize}: #{@resource.full_path}
%p
  %ul
    - @token_names.each do |token|
      %li= token
%p
  - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: @target_url }
  = html_escape(_('You can create a new one or check them in your %{link_start}access tokens%{link_end} settings.')) % { link_start: link_start, link_end: '</a>'.html_safe }