aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-rw-r--r--templates/repo/issue/view_content.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index b3f88c662d..acabe34782 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -107,6 +107,14 @@
</form>
</div>
</div>
+ {{ else if .Repository.IsArchived }}
+ <div class="ui warning message">
+ {{if .Issue.IsPull}}
+ {{.i18n.Tr "repo.archive.pull.nocomment"}}
+ {{else}}
+ {{.i18n.Tr "repo.archive.issue.nocomment"}}
+ {{end}}
+ </div>
{{ end }}
{{else}}
{{if .Repository.IsArchived}}