File: import_source_user_rejected.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 (22 lines) | stat: -rw-r--r-- 1,320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- source_hostname = @source_user.source_hostname
- source_name = @source_user.source_name
- source_username = "@#{@source_user.source_username}"
- reassign_to_user = @source_user.reassign_to_user
- reassign_to_name = reassign_to_user.name
- reassign_to_username = link_to reassign_to_user.to_reference, user_url(reassign_to_user)
- destination_group = link_to "#{@source_user.namespace.name} (/#{@source_user.namespace.full_path})", group_group_members_url(@source_user.namespace, tab: 'placeholders')

- header_style = 'font-size:24px; text-align:center; line-height:30px;'
- text_style = 'font-size:16px; text-align:center; line-height:24px; margin-top: 24px;'

%h1{ style: header_style }
  = s_('UserMapping|Reassignment rejected')

%p{ style: text_style }
  = safe_format(s_('UserMapping|%{reassign_to_name} (%{reassign_to_username}) has declined your request to reassign contributions of %{source_name} (%{source_username}) on %{source_hostname} to them on %{destination_group}. To reassign these contributions to another user, visit the Members page of %{destination_group}.'),
    reassign_to_name: reassign_to_name,
    reassign_to_username: reassign_to_username,
    source_name: source_name,
    source_username: source_username,
    source_hostname: source_hostname,
    destination_group: destination_group)