debian-mirror-gitlab/app/views/profiles/keys/index.html.haml

29 lines
1.3 KiB
Text
Raw Normal View History

2019-09-04 21:01:54 +05:30
- page_title _('SSH Keys')
2022-11-25 23:54:43 +05:30
- add_page_specific_style 'page_bundles/profile'
2023-07-09 08:55:56 +05:30
- @force_desktop_expanded_sidebar = true
2015-09-25 12:07:36 +05:30
2022-11-25 23:54:43 +05:30
.row.gl-mt-3.js-search-settings-section
2017-09-10 17:25:29 +05:30
.col-lg-4.profile-settings-sidebar
2020-06-23 00:09:42 +05:30
%h4.gl-mt-0
2016-06-02 11:05:42 +05:30
= page_title
%p
2019-09-04 21:01:54 +05:30
= _('SSH keys allow you to establish a secure connection between your computer and GitLab.')
2022-08-27 11:52:29 +05:30
%br
%h4.gl-mt-0
= _('SSH Fingerprints')
%p
- config_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_instance_configuration_url }
= html_escape(s_('SSH fingerprints verify that the client is connecting to the correct host. Check the %{config_link_start}current instance configuration%{config_link_end}.')) % { config_link_start: config_link_start, config_link_end: '</a>'.html_safe }
2017-09-10 17:25:29 +05:30
.col-lg-8
2020-06-23 00:09:42 +05:30
%h5.gl-mt-0
2019-09-04 21:01:54 +05:30
= _('Add an SSH key')
2016-06-02 11:05:42 +05:30
%p.profile-settings-content
2022-06-21 17:19:12 +05:30
- help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/ssh.md') }
2022-03-02 08:16:31 +05:30
= _('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-06-02 11:05:42 +05:30
= render 'form'
%hr
%h5
2021-04-29 21:17:54 +05:30
= _('Your SSH keys (%{count})') % { count: @keys.count }
2020-07-28 23:09:34 +05:30
.gl-mb-3
2016-06-02 11:05:42 +05:30
= render 'key_table'