2015-04-26 12:48:37 +05:30
|
|
|
- is_admin = defined?(admin) ? true : false
|
2015-12-23 02:04:40 +05:30
|
|
|
- if @keys.any?
|
|
|
|
.table-holder
|
2015-04-26 12:48:37 +05:30
|
|
|
%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
|
2015-12-23 02:04:40 +05:30
|
|
|
- else
|
|
|
|
.nothing-here-block
|
|
|
|
- if is_admin
|
|
|
|
User has no ssh keys
|
|
|
|
- else
|
|
|
|
There are no SSH keys with access to your account.
|