2016-03-03 20:49:00 +00:00
|
|
|
- is_admin = local_assigns.fetch(:admin, false)
|
|
|
|
|
2015-12-02 13:49:59 +00:00
|
|
|
- if @keys.any?
|
2018-05-29 15:08:35 +00:00
|
|
|
%ul.content-list
|
2016-03-03 20:49:00 +00:00
|
|
|
= render partial: 'profiles/keys/key', collection: @keys, locals: { is_admin: is_admin }
|
|
|
|
- else
|
2016-04-25 13:42:17 +00:00
|
|
|
%p.settings-message.text-center
|
2016-03-03 20:49:00 +00:00
|
|
|
- if is_admin
|
|
|
|
There are no SSH keys associated with this account.
|
|
|
|
- else
|
|
|
|
There are no SSH keys with access to your account.
|