gitlab-org--gitlab-foss/app/views/profiles/keys/_key_table.html.haml

12 lines
367 B
Plaintext
Raw Normal View History

- is_admin = local_assigns.fetch(:admin, false)
2015-12-02 13:49:59 +00:00
- if @keys.any?
2016-02-29 17:19:00 +00:00
%ul.well-list
= render partial: 'profiles/keys/key', collection: @keys, locals: { is_admin: is_admin }
- else
%p.profile-settings-message.text-center
- if is_admin
There are no SSH keys associated with this account.
- else
There are no SSH keys with access to your account.