BigW Consortium Gitlab

_key_table.html.haml 469 Bytes
Newer Older
1
- is_admin = defined?(admin) ? true : false
2 3
- if @keys.any?
  .table-holder
4 5 6 7 8 9 10 11 12 13
    %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
14 15 16 17 18 19
- else
  .nothing-here-block
    - if is_admin
      User has no ssh keys
    - else
      There are no SSH keys with access to your account.