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