diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index cb20fb0c568e..2ca2fa2bce70 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -9,6 +9,13 @@ {{if not .Repository.IsArchived}}
{{if or .CanWriteIssues .CanWritePulls}} + {{if .Milestone.IsClosed}} + {{$.locale.Tr "repo.milestones.open"}} + + {{else}} + {{$.locale.Tr "repo.milestones.close"}} + + {{end}} {{.locale.Tr "repo.milestones.edit"}} {{end}} {{.locale.Tr "repo.issues.new"}}