2019-05-30 13:56:56 -04:00
|
|
|
- page_title _('SSH Keys')
|
2017-06-22 10:47:50 -04:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2015-09-09 17:05:47 -04:00
|
|
|
|
2020-06-26 02:09:03 -04:00
|
|
|
.row.gl-mt-3
|
2017-06-22 10:47:50 -04:00
|
|
|
.col-lg-4.profile-settings-sidebar
|
2020-05-21 14:08:27 -04:00
|
|
|
%h4.gl-mt-0
|
2016-02-29 12:19:00 -05:00
|
|
|
= page_title
|
|
|
|
%p
|
2019-05-30 13:56:56 -04:00
|
|
|
= _('SSH keys allow you to establish a secure connection between your computer and GitLab.')
|
2017-06-22 10:47:50 -04:00
|
|
|
.col-lg-8
|
2020-05-21 14:08:27 -04:00
|
|
|
%h5.gl-mt-0
|
2019-05-30 13:56:56 -04:00
|
|
|
= _('Add an SSH key')
|
2016-03-02 05:16:51 -05:00
|
|
|
%p.profile-settings-content
|
2022-03-31 02:08:34 -04:00
|
|
|
- help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/ssh.md') }
|
2022-01-12 10:13:54 -05:00
|
|
|
= _('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 }
|
2016-02-29 12:19:00 -05:00
|
|
|
= render 'form'
|
|
|
|
%hr
|
|
|
|
%h5
|
2021-04-05 08:09:17 -04:00
|
|
|
= _('Your SSH keys (%{count})') % { count: @keys.count }
|
2020-06-22 11:09:27 -04:00
|
|
|
.gl-mb-3
|
2016-03-03 15:49:00 -05:00
|
|
|
= render 'key_table'
|