mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
Fix rel=me link
This commit is contained in:
parent
ee76db48bb
commit
036899d2ff
1 changed files with 4 additions and 4 deletions
|
@ -177,9 +177,9 @@ async function verifyProofs(opts) {
|
||||||
for (var i = 0; i < verifications.length; i++) {
|
for (var i = 0; i < verifications.length; i++) {
|
||||||
if (verifications[i].type == null) { continue; }
|
if (verifications[i].type == null) { continue; }
|
||||||
feedback += `${verifications[i].type}: `;
|
feedback += `${verifications[i].type}: `;
|
||||||
feedback += `<a class="proofDisplay" href="${verifications[i].url}">${verifications[i].display}</a>`;
|
feedback += `<a class="proofDisplay" href="${verifications[i].url}" rel="me">${verifications[i].display}</a>`;
|
||||||
if (verifications[i].isVerified) {
|
if (verifications[i].isVerified) {
|
||||||
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}" rel="me">verified ✔</a>`;
|
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}">verified ✔</a>`;
|
||||||
} else {
|
} else {
|
||||||
feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
|
feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
|
||||||
}
|
}
|
||||||
|
@ -332,9 +332,9 @@ async function displayProfile(opts) {
|
||||||
feedback += `<div class="profileDataItem">`;
|
feedback += `<div class="profileDataItem">`;
|
||||||
feedback += `<div class="profileDataItem__label">${verifications[i].type}</div>`;
|
feedback += `<div class="profileDataItem__label">${verifications[i].type}</div>`;
|
||||||
feedback += `<div class="profileDataItem__value">`;
|
feedback += `<div class="profileDataItem__value">`;
|
||||||
feedback += `<a class="proofDisplay" href="${verifications[i].url}">${verifications[i].display}</a>`;
|
feedback += `<a class="proofDisplay" href="${verifications[i].url}" rel="me">${verifications[i].display}</a>`;
|
||||||
if (verifications[i].isVerified) {
|
if (verifications[i].isVerified) {
|
||||||
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}" rel="me">verified ✔</a>`;
|
feedback += `<a class="proofUrl proofUrl--verified" href="${verifications[i].proofUrl}">verified ✔</a>`;
|
||||||
} else {
|
} else {
|
||||||
feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
|
feedback += `<a class="proofUrl" href="${verifications[i].proofUrl}">unverified</a>`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue