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