BigW Consortium Gitlab

_key_table.html.haml 359 Bytes
Newer Older
1 2
- is_admin = local_assigns.fetch(:admin, false)

3
- if @keys.any?
Phil Hughes committed
4
  %ul.well-list
5 6
    = render partial: 'profiles/keys/key', collection: @keys, locals: { is_admin: is_admin }
- else
7
  %p.settings-message.text-center
8 9 10 11
    - if is_admin
      There are no SSH keys associated with this account.
    - else
      There are no SSH keys with access to your account.