gitlab-org--gitlab-foss/app/views/profiles/keys/_key_details.html.haml
Phil Hughes 1efe105415 SSH keys settings
Closes #13860
2016-03-03 16:13:55 -05:00

23 lines
631 B
Text

- is_admin = defined?(admin) ? true : false
.row.prepend-top-default
.col-md-4
.panel.panel-default
.panel-heading
SSH Key
%ul.well-list
%li
%span.light Title:
%strong= @key.title
%li
%span.light Created on:
%strong= @key.created_at.to_s(:medium)
.col-md-8
%p
%span.light Fingerprint:
%code.key-fingerprint= @key.fingerprint
%pre.well-pre
= @key.key
.col-md-12
.pull-right
= link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"