forked from forgejo/forgejo
Remove sha1 hash display in repository table and add latest commit GPG check (#1678)
This commit is contained in:
parent
935caa7f95
commit
2e17dda8bb
4 changed files with 57 additions and 33 deletions
|
@ -117,6 +117,7 @@ func renderDirectory(ctx *context.Context, treeLink string) {
|
|||
}
|
||||
}
|
||||
ctx.Data["LatestCommit"] = latestCommit
|
||||
ctx.Data["LatestCommitVerification"] = models.ParseCommitWithSignature(latestCommit)
|
||||
ctx.Data["LatestCommitUser"] = models.ValidateCommitWithEmail(latestCommit)
|
||||
|
||||
// Check permission to add or upload new file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue