diff options
Diffstat (limited to 'app/views/settings/gpg_keys/index.html.haml')
-rw-r--r-- | app/views/settings/gpg_keys/index.html.haml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/settings/gpg_keys/index.html.haml b/app/views/settings/gpg_keys/index.html.haml new file mode 100644 index 00000000000..f9f898a9225 --- /dev/null +++ b/app/views/settings/gpg_keys/index.html.haml @@ -0,0 +1,21 @@ +- page_title _('GPG Keys') +- @content_class = "limit-container-width" unless fluid_layout + +.row.prepend-top-default + .col-lg-4.profile-settings-sidebar + %h4.prepend-top-0 + = page_title + %p + = _('GPG keys allow you to verify signed commits.') + .col-lg-8 + %h5.prepend-top-0 + = _('Add a GPG key') + %p.profile-settings-content + - 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 } + = render 'form' + %hr + %h5 + = _('Your GPG keys (%{count})') % { count:@gpg_keys.count} + .append-bottom-default + = render 'key_table' |