debian-mirror-gitlab/app/views/profiles/keys/_key_table.html.haml
2016-06-02 11:05:42 +05:30

11 lines
359 B
Text

- is_admin = local_assigns.fetch(:admin, false)
- if @keys.any?
%ul.well-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.