Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_key.html.haml « gpg_keys « profiles « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86e2510d22f366e74fbbfa77b2f4e64caf32f0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%li.key-list-item
  .pull-left.append-right-10
    = icon 'key', class: "settings-list-icon hidden-xs"
  .key-list-item-info
    - key.emails_with_verified_status.map do |email, verified|
      = email
      = verified_email_badge(email, verified)

    .description
      %code= key.fingerprint
  .pull-right
    %span.key-created-at
      created #{time_ago_with_tooltip(key.created_at)}
    = link_to profile_gpg_key_path(key), data: { confirm: 'Are you sure? Removing this GPG key does not affect already signed commits.' }, method: :delete, class: "btn btn-danger prepend-left-10" do
      %span.sr-only Remove
      = icon('trash')
    = link_to revoke_profile_gpg_key_path(key), data: { confirm: 'Are you sure? All commits that were signed with this GPG key will be unverified.' }, method: :put, class: "btn btn-danger prepend-left-10" do
      %span.sr-only Revoke
      Revoke