summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/_key_details.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/keys/_key_details.html.haml')
-rw-r--r--app/views/profiles/keys/_key_details.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/profiles/keys/_key_details.html.haml b/app/views/profiles/keys/_key_details.html.haml
index dd7615400dc..d44603c638c 100644
--- a/app/views/profiles/keys/_key_details.html.haml
+++ b/app/views/profiles/keys/_key_details.html.haml
@@ -11,6 +11,9 @@
%li
%span.light Created on:
%strong= @key.created_at.to_s(:medium)
+ %li
+ %span.light Last used on:
+ %strong= @key.last_used_at.try(:to_s, :medium) || 'N/A'
.col-md-8
%p