gitlab-org--gitlab-foss/app/views/profiles/keys/_key_table.html.haml
Jennie Louie 5e79e74fa5 Update qa resources and pages for Geo wiki spec
Add qa selectors to wiki show and ssh keys page
Add method to wiki push resource to find ssh_uri
2019-09-10 10:12:53 -07:00

11 lines
418 B
Text

- is_admin = local_assigns.fetch(:admin, false)
- if @keys.any?
%ul.content-list{ data: { qa_selector: 'ssh_keys_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.')