File: _reject_invite.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (13 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
= render Pajamas::AlertComponent.new(variant: :info, title: s_('UserMapping|Reassignment rejected'), alert_options: { class: 'gl-mt-4' }) do |c|
  - c.with_body do
    = safe_format(s_('UserMapping|You have rejected the reassignment of contributions from %{strong_open}%{source_user_name} (@%{source_username})%{strong_close} on %{strong_open}%{source_hostname}%{strong_close} to yourself on the group %{strong_open}%{destination_group}%{strong_close}.'),
      tag_pair(tag.strong, :strong_open, :strong_close),
    source_user_name: source_user.source_name,
    source_username: source_user.source_username,
    source_hostname: source_user.source_hostname,
    destination_group: source_user.namespace.name)
  - c.with_actions do
    = render Pajamas::ButtonComponent.new(variant: :default,
      href: help_page_path('user/project/import/index.md', anchor: 'accept-contribution-reassignment'),
      button_options: { class: 'deferred-link gl-alert-action', rel: 'noreferrer noopener' }, target: '_blank') do
      = _('Learn more')