From 592367c43a8d5b2671dd6a4b90c9325782fa12c6 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Sat, 20 Apr 2024 14:06:26 +0500 Subject: [PATCH 1/2] [UI] Fix milestone header inconsistencies with issues/PRs --- templates/repo/issue/milestones.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl index bce7ad871..2a5cf84b3 100644 --- a/templates/repo/issue/milestones.tmpl +++ b/templates/repo/issue/milestones.tmpl @@ -4,11 +4,13 @@
{{template "base/alert" .}} -
+
{{template "repo/issue/navbar" .}} {{template "repo/issue/search" .}} {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}} - {{ctx.Locale.Tr "repo.milestones.new"}} + {{end}}
From 38f2aa871ee9b01821a7df2e11637e2d5fdf3925 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Sat, 20 Apr 2024 14:11:38 +0500 Subject: [PATCH 2/2] [UI] Refactor display of milestone issue list header --- templates/repo/issue/milestone_issues.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index 5bae6fc6d..c8e2fbe84 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -3,16 +3,16 @@ {{template "repo/header" .}}
{{template "base/alert" .}} -
+

{{.Milestone.Name}}

{{if not .Repository.IsArchived}} -