summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/_key.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/keys/_key.html.haml')
-rw-r--r--app/views/profiles/keys/_key.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/profiles/keys/_key.html.haml b/app/views/profiles/keys/_key.html.haml
index 3276db6692c..d2a60ac2867 100644
--- a/app/views/profiles/keys/_key.html.haml
+++ b/app/views/profiles/keys/_key.html.haml
@@ -6,6 +6,9 @@
= key.title
.description
= key.fingerprint
+ .last-used-at
+ last used:
+ = key.last_used_at ? time_ago_with_tooltip(key.last_used_at) : 'n/a'
.pull-right
%span.key-created-at
created #{time_ago_with_tooltip(key.created_at)}