From 0b510725c97452bac57ff0080df10f6177aa2a6e Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 23 Jan 2019 19:58:38 +0100 Subject: Feature: Archive repos (#5009) --- templates/repo/issue/milestones.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/repo/issue/milestones.tmpl') diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl index 36cbe5a057..1ed7ce94ed 100644 --- a/templates/repo/issue/milestones.tmpl +++ b/templates/repo/issue/milestones.tmpl @@ -4,7 +4,7 @@
- {{if or $.CanWriteIssues $.CanWritePulls}} + {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}}
{{$.i18n.Tr "repo.issues.label_edit"}} {{if .IsClosed}} -- cgit v1.2.3