diff options
author | Lauris BH <lauris@nix.lv> | 2017-05-05 10:15:36 +0300 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-05-05 15:15:36 +0800 |
commit | 2e17dda8bb583d2a088589ca4d37ce2d4131b0e7 (patch) | |
tree | 4860003c9b725a9911671c8e9051fa16da159cea /routers/repo | |
parent | 935caa7f95f0ce5cc7e01c24bd41b8ffce658581 (diff) | |
download | gitea-2e17dda8bb583d2a088589ca4d37ce2d4131b0e7.tar.gz gitea-2e17dda8bb583d2a088589ca4d37ce2d4131b0e7.zip |
Remove sha1 hash display in repository table and add latest commit GPG check (#1678)
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/view.go | 1 |
1 files changed, 1 insertions, 0 deletions
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. |