diff --git a/templates/repo/commit_header.tmpl b/templates/repo/commit_header.tmpl index 6926a95300..0787fb054c 100644 --- a/templates/repo/commit_header.tmpl +++ b/templates/repo/commit_header.tmpl @@ -209,7 +209,7 @@ {{if .Commit.Signature}}
-
+
{{if .Verification.Verified}} {{if ne .Verification.SigningUser.ID 0}} {{svg "gitea-lock" 16 "tw-mr-2"}} @@ -233,7 +233,7 @@ {{ctx.Locale.Tr .Verification.Reason}} {{end}}
-
+
{{if .Verification.Verified}} {{svg "octicon-verified" 16 "tw-mr-2"}} {{if ne .Verification.SigningUser.ID 0}} diff --git a/templates/repo/tag/verification_line.tmpl b/templates/repo/tag/verification_line.tmpl index f89ca91343..5081a2268b 100644 --- a/templates/repo/tag/verification_line.tmpl +++ b/templates/repo/tag/verification_line.tmpl @@ -10,7 +10,7 @@ {{end}}
-
+
{{if $v.Verified}} {{if ne $v.SigningUser.ID 0}} {{svg "gitea-lock" 16 "tw-mr-2"}} @@ -29,7 +29,7 @@ {{end}}
-
+
{{if $v.Verified}} {{if ne $v.SigningUser.ID 0}} {{svg "octicon-verified" 16 "tw-mr-2"}} diff --git a/web_src/css/repo.css b/web_src/css/repo.css index e8d32ab09b..87fca9024a 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1984,6 +1984,11 @@ details.repo-search-result summary::marker { justify-content: space-between; } +.signature-row > div { + display: flex; + align-items: center; +} + .commit-header-buttons { display: flex; gap: 4px;