From 2e17dda8bb583d2a088589ca4d37ce2d4131b0e7 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Fri, 5 May 2017 10:15:36 +0300 Subject: Remove sha1 hash display in repository table and add latest commit GPG check (#1678) --- routers/repo/view.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/repo') diff --git a/routers/repo/view.go b/routers/repo/view.go index 165284a599..a4f15ae5de 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -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. -- cgit v1.2.3