File: _identity.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 (26 lines) | stat: -rw-r--r-- 962 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
23
24
25
26
%tr
  %td
    = label_for_identity_provider(identity)
  %td{ data: { testid: provider_id_cell_testid(identity) } }
    = provider_id(identity)
  %td{ data: { testid: saml_group_cell_testid(identity) } }
    = saml_group_link(identity)
  %td
    = identity.extern_uid
  %td
    = '-'
  %td{ class: '!gl-py-0' }
    - button_classes = 'has-tooltip gl-my-3'
    = render Pajamas::ButtonComponent.new(category: :tertiary,
      href: edit_admin_user_identity_path(@user, identity),
      icon: 'pencil',
      button_options: { title: _('Edit'),
        'aria-label' => _('Edit'),
        class: button_classes })
    = render Pajamas::ButtonComponent.new(category: :tertiary,
      href: url_for([:admin, @user, identity]),
      icon: 'remove',
      button_options: { title: _('Delete'),
       'aria-label' => _('Delete identity'),
        class: button_classes,
        data: { method: :delete, confirm: _("Are you sure you want to remove this identity?") } })