From fdf4fd3f015b3fb7fc0503cdb28522bc242b9500 Mon Sep 17 00:00:00 2001 From: May Meow Date: Tue, 15 Nov 2022 20:21:41 +0100 Subject: [PATCH 1/2] style: add space between avatar and username --- templates/repo/commit_page.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 8ece768832fb7..bd37dcd6ddafa 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -201,7 +201,7 @@ {{.locale.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}: {{end}} {{avatar .Verification.SigningUser 28}} - {{.Verification.SigningUser.GetDisplayName}} + {{.Verification.SigningUser.GetDisplayName}} {{else}} {{svg "gitea-lock-cog" 16 "mr-3"}} {{.locale.Tr "repo.commits.signed_by"}}: From 8834168abd5ce4375766192b181d382d3ae4dcc6 Mon Sep 17 00:00:00 2001 From: zeripath Date: Tue, 15 Nov 2022 20:03:16 +0000 Subject: [PATCH 2/2] as per silverwind Co-authored-by: silverwind --- templates/repo/commit_page.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index bd37dcd6ddafa..2dcd02ad98dfd 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -200,8 +200,8 @@ {{else}} {{.locale.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}: {{end}} - {{avatar .Verification.SigningUser 28}} - {{.Verification.SigningUser.GetDisplayName}} + {{avatar .Verification.SigningUser 28 "mr-3"}} + {{.Verification.SigningUser.GetDisplayName}} {{else}} {{svg "gitea-lock-cog" 16 "mr-3"}} {{.locale.Tr "repo.commits.signed_by"}}: