summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/index.html.haml
blob: 7d4c3b6115fe895ae588823df3078e9165f95929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- page_title _('SSH Keys')
- @content_class = "limit-container-width" unless fluid_layout

.row.gl-mt-3
  .col-lg-4.profile-settings-sidebar
    %h4.gl-mt-0
      = page_title
    %p
      = _('SSH keys allow you to establish a secure connection between your computer and GitLab.')
  .col-lg-8
    %h5.gl-mt-0
      = _('Add an SSH key')
    %p.profile-settings-content
      - help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('ssh/index.md') }
      = _('Add an SSH key for secure access to GitLab. %{help_link_start}Learn more.%{help_link_end}').html_safe % {help_link_start: help_link_start, help_link_end: '</a>'.html_safe }
    = render 'form'
    %hr
    %h5
      = _('Your SSH keys (%{count})') % { count: @keys.count }
    .gl-mb-3
      = render 'key_table'