2015-04-26 12:48:37 +05:30
|
|
|
- is_admin = defined?(admin) ? true : false
|
|
|
|
.row
|
|
|
|
.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.stamp("Aug 21, 2011")
|
|
|
|
|
|
|
|
.col-md-8
|
|
|
|
%p
|
|
|
|
%span.light Fingerprint:
|
2015-09-11 14:41:01 +05:30
|
|
|
%code.key-fingerprint= @key.fingerprint
|
2015-04-26 12:48:37 +05:30
|
|
|
%pre.well-pre
|
|
|
|
= @key.key
|
|
|
|
.pull-right
|
|
|
|
= link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"
|