summaryrefslogtreecommitdiff
path: root/app/views/profiles/gpg_keys/_key.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/gpg_keys/_key.html.haml')
-rw-r--r--app/views/profiles/gpg_keys/_key.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/profiles/gpg_keys/_key.html.haml b/app/views/profiles/gpg_keys/_key.html.haml
index 970e92aadaa..5ed517c1ef6 100644
--- a/app/views/profiles/gpg_keys/_key.html.haml
+++ b/app/views/profiles/gpg_keys/_key.html.haml
@@ -7,6 +7,13 @@
.description
%code= key.fingerprint
+ - if key.subkeys.present?
+ .subkeys
+ %span.bold Subkeys:
+ %ul.subkeys-list
+ - key.subkeys.each do |subkey|
+ %li
+ %code= subkey.fingerprint
.pull-right
%span.key-created-at
created #{time_ago_with_tooltip(key.created_at)}