From b4334baa1ea44cb43713d8e19d69633bf514a41d Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Wed, 1 Mar 2023 18:22:37 +0100 Subject: [PATCH] feat: Show key after user ids --- views/profile.pug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/views/profile.pug b/views/profile.pug index 64e4fcc..93de2c2 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -119,6 +119,11 @@ block content if (enable_signature_verification) button(onClick="document.querySelector('#dialog--verifySignature').showModal();") Verify signature + +generateUser(data.keyData.users[data.keyData.primaryUserIndex], true) + each user, index in data.keyData.users + unless index == data.keyData.primaryUserIndex + +generateUser(user, false) + #profileProofs.card.card--transparent h2 Key kx-key.kx-item(data-keydata=data.keyData) @@ -137,9 +142,4 @@ block content .subsection img(src='/static/img/qrcode.png') div - button(onClick=`showQR('${data.keyData.fingerprint}', 'fingerprint')` aria-label='Show QR code for cryptographic fingerprint') Show OpenPGP fingerprint QR - - +generateUser(data.keyData.users[data.keyData.primaryUserIndex], true) - each user, index in data.keyData.users - unless index == data.keyData.primaryUserIndex - +generateUser(user, false) + button(onClick=`showQR('${data.keyData.fingerprint}', 'fingerprint')` aria-label='Show QR code for cryptographic fingerprint') Show OpenPGP fingerprint QR \ No newline at end of file