From 6051722460f3e37e04c5aaa1335927955c017ee8 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 2 Apr 2024 09:51:44 +0200 Subject: [PATCH] Adjust the signed tag verification line Move the signed tag verification line above the release notes, don't disable the bottom margin, and make sure the verification line's box is properly rounded like other boxes. Signed-off-by: Gergely Nagy --- templates/repo/release/list.tmpl | 2 +- templates/repo/tag/verification_line.tmpl | 2 +- web_src/css/repo.css | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 329dc932fb..c010bb968c 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -57,10 +57,10 @@ | {{ctx.Locale.Tr "repo.release.ahead.commits" $release.NumCommitsBehind}} {{ctx.Locale.Tr "repo.release.ahead.target" $release.TargetBehind}} {{end}}

+ {{template "repo/tag/verification_line" (dict "ctxData" $ "release" $release)}}
{{$release.RenderedNote}}
- {{template "repo/tag/verification_line" (dict "ctxData" $ "release" $release)}}
diff --git a/templates/repo/tag/verification_line.tmpl b/templates/repo/tag/verification_line.tmpl index f83719de23..5f8335abcc 100644 --- a/templates/repo/tag/verification_line.tmpl +++ b/templates/repo/tag/verification_line.tmpl @@ -9,7 +9,7 @@ {{$class = (print $class " isWarning")}} {{end}} -
+
{{if $v.Verified}} {{if ne $v.SigningUser.ID 0}} diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 2257553055..03e4f1d74b 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -2143,6 +2143,10 @@ padding-bottom: 0 !important; } +.ui.attached.message.tag-signature-row { + border-radius: var(--border-radius); +} + .tag-signature-row div { margin-top: auto !important; margin-bottom: auto !important;