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

22 lines
867 B
Text
Raw Normal View History

2019-09-04 21:01:54 +05:30
- page_title _('GPG Keys')
2018-03-17 18:26:18 +05:30
- @content_class = "limit-container-width" unless fluid_layout
2017-09-10 17:25:29 +05:30
.row.prepend-top-default
2018-03-17 18:26:18 +05:30
.col-lg-4.profile-settings-sidebar
2017-09-10 17:25:29 +05:30
%h4.prepend-top-0
= page_title
%p
2019-09-04 21:01:54 +05:30
= _('GPG keys allow you to verify signed commits.')
2018-03-17 18:26:18 +05:30
.col-lg-8
2017-09-10 17:25:29 +05:30
%h5.prepend-top-0
2019-09-04 21:01:54 +05:30
= _('Add a GPG key')
2017-09-10 17:25:29 +05:30
%p.profile-settings-content
2019-09-04 21:01:54 +05:30
- help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/project/repository/gpg_signed_commits/index.md') }
= _('Before you can add a GPG key you need to %{help_link_start}Generate it.%{help_link_end}'.html_safe) % {help_link_start: help_link_start, help_link_end:'</a>'.html_safe }
2017-09-10 17:25:29 +05:30
= render 'form'
%hr
%h5
2019-09-04 21:01:54 +05:30
= _('Your GPG keys (%{count})') % { count:@gpg_keys.count}
2017-09-10 17:25:29 +05:30
.append-bottom-default
= render 'key_table'