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?
|
2020-03-13 05:09:23 -04:00
|
|
|
%ul.content-list.ssh-keys-list{ data: { qa_selector: 'ssh_keys_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
|
2019-05-30 13:56:56 -04:00
|
|
|
= _('There are no SSH keys associated with this account.')
|
2016-03-03 15:49:00 -05:00
|
|
|
- else
|
2019-05-30 13:56:56 -04:00
|
|
|
= _('There are no SSH keys with access to your account.')
|