gitlab-org--gitlab-foss/app/views/profiles/keys/_key_table.html.haml
2015-12-02 14:49:59 +01:00

19 lines
469 B
Text

- is_admin = defined?(admin) ? true : false
- if @keys.any?
.table-holder
%table.table
%thead.panel-heading
%tr
%th Title
%th Fingerprint
%th Added at
%th
%tbody
- @keys.each do |key|
= render 'profiles/keys/key', key: key, is_admin: is_admin
- else
.nothing-here-block
- if is_admin
User has no ssh keys
- else
There are no SSH keys with access to your account.