+2
-1
appview/pages/templates/repo/commit.html
+2
-1
appview/pages/templates/repo/commit.html
···
58
58
<div class="mb-1">This commit was signed with the committer's <span class="text-green-600 font-semibold">known signature</span>.</div>
59
59
<div class="flex items-center gap-2 my-2">
60
60
{{ i "user" "w-4 h-4" }}
61
-
<a href="/{{ $didOrHandle }}">{{ $didOrHandle }}</a>
61
+
{{ $committerDidOrHandle := index $.EmailToDidOrHandle $commit.Committer.Email }}
62
+
<a href="/{{ $committerDidOrHandle }}">{{ $committerDidOrHandle }}</a>
62
63
</div>
63
64
<div class="my-1 pt-2 text-xs border-t">
64
65
<div class="text-gray-600 dark:text-gray-300">SSH Key Fingerprint:</div>
+1
-1
appview/repo/repo.go
+1
-1
appview/repo/repo.go
···
462
462
return
463
463
}
464
464
465
-
emailToDidMap, err := db.GetEmailToDid(rp.db, []string{result.Diff.Commit.Author.Email}, true)
465
+
emailToDidMap, err := db.GetEmailToDid(rp.db, []string{result.Diff.Commit.Committer.Email, result.Diff.Commit.Author.Email}, true)
466
466
if err != nil {
467
467
log.Println("failed to get email to did mapping:", err)
468
468
}