1
0
Fork 0
forked from forgejo/forgejo

Remove sha1 hash display in repository table and add latest commit GPG check (#1678)

This commit is contained in:
Lauris BH 2017-05-05 10:15:36 +03:00 committed by Bo-Yi Wu
parent 935caa7f95
commit 2e17dda8bb
4 changed files with 57 additions and 33 deletions

View file

@ -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.