summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/_key.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 20:07:21 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 20:07:21 +0300
commit113d2ff525b6005e1cc7ff86a5a0189c4ab3d0e4 (patch)
treedb812996f7002ddd527c713851f829820654ce61 /app/views/profiles/keys/_key.html.haml
parent05a7e8b9c0b1ebdc01470a31f933b7526ca2cd08 (diff)
downloadgitlab-ce-113d2ff525b6005e1cc7ff86a5a0189c4ab3d0e4.tar.gz
store and display public key fingerprint
Diffstat (limited to 'app/views/profiles/keys/_key.html.haml')
-rw-r--r--app/views/profiles/keys/_key.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/profiles/keys/_key.html.haml b/app/views/profiles/keys/_key.html.haml
index cf4d80ad894..d0a3fe32c35 100644
--- a/app/views/profiles/keys/_key.html.haml
+++ b/app/views/profiles/keys/_key.html.haml
@@ -1,9 +1,11 @@
%li
= link_to profile_key_path(key) do
%strong= key.title
+ %span
+ (#{key.fingerprint})
%span.cgray
added
= time_ago_in_words(key.created_at)
ago
- = link_to 'Remove', profile_key_path(key), confirm: 'Are you sure?', method: :delete, class: "btn btn-small btn-remove delete-key pull-right"
+ = link_to 'Remove', profile_key_path(key), confirm: 'Are you sure?', method: :delete, class: "btn btn-small btn-remove delete-key pull-right"