blob: 4a6d8a1870da26397264d83c3943df8a952cba17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- is_admin = local_assigns.fetch(:admin, false)
- if @keys.any?
%ul.content-list
= render partial: 'profiles/keys/key', collection: @keys, locals: { is_admin: is_admin }
- else
%p.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.')
|