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

_key_table.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: cabb92c5a245eb5c10b7e37062f25e47dfd76c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
- is_admin = local_assigns.fetch(:admin, false)

- if @gpg_keys.any?
  %ul.well-list
    = render partial: 'profiles/gpg_keys/key', collection: @gpg_keys, locals: { is_admin: is_admin }
- else
  %p.settings-message.text-center
    - if is_admin
      There are no GPG keys associated with this account.
    - else
      There are no GPG keys with access to your account.