From 2929170bd81d3912e1aac9a4012a247d8572f551 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Thu, 27 Feb 2020 19:24:35 +0000 Subject: [PATCH 1/3] Fix the view_list.tmpl page --- templates/repo/view_list.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index c296eb7beec6f..a1c8c133ece1b 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -16,10 +16,11 @@ {{end}} {{end}} - {{ShortSha .LatestCommit.ID.String}} + {{ShortSha .LatestCommit.ID.String}} +
{{if .LatestCommit.Signature}} {{if .LatestCommitVerification.Verified}} -
+
{{if ne .LatestCommitVerification.SigningUser.ID 0}} @@ -32,11 +33,10 @@ {{end}}
{{else}} -
- -
+ {{end}} {{end}} +
{{template "repo/commit_status" .LatestCommitStatus}} {{ $commitLink:= printf "%s/commit/%s" .RepoLink .LatestCommit.ID }} From bff2ccb4ecd03e0b2effa913720174bfec4adca2 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Thu, 27 Feb 2020 19:55:49 +0000 Subject: [PATCH 2/3] fix-centerlock --- web_src/less/_base.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 1df0124542040..fa31b7ad40502 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1034,7 +1034,7 @@ i.icons .icon:first-child { } i.icon.centerlock { - top: 1.5em; + top: 10px; } .ui.label > .detail .icons { From b9b614c1835280ce2843de0581812608f56e1121 Mon Sep 17 00:00:00 2001 From: zeripath Date: Thu, 27 Feb 2020 19:57:08 +0000 Subject: [PATCH 3/3] Update web_src/less/_base.less as per @silverwind Co-Authored-By: silverwind --- web_src/less/_base.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/less/_base.less b/web_src/less/_base.less index fa31b7ad40502..b9000b69169e4 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1034,7 +1034,7 @@ i.icons .icon:first-child { } i.icon.centerlock { - top: 10px; + top: 1.45em; } .ui.label > .detail .icons {