debian-mirror-gitlab/app/views/profiles/keys/_key_table.html.haml
2015-12-23 02:04:40 +05:30

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.