aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/labels/label_list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/labels/label_list.tmpl')
-rw-r--r--templates/repo/issue/labels/label_list.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/repo/issue/labels/label_list.tmpl b/templates/repo/issue/labels/label_list.tmpl
index c15833d952..b29e606baa 100644
--- a/templates/repo/issue/labels/label_list.tmpl
+++ b/templates/repo/issue/labels/label_list.tmpl
@@ -33,6 +33,11 @@
<li class="item">
<div class="label-title">
{{RenderLabel $.Context .}}
+ {{if not .ArchivedUnix.IsZero}}
+ <span class="gt-ml-3 gt-cursor-default gt-italic" data-tooltip-content="{{$.locale.Tr "repo.issues.label_archive_tooltip"}}">
+ {{$.locale.Tr "home.archived"}}
+ </span>
+ {{end}}
{{if .Description}}<br><small class="desc">{{.Description | RenderEmoji $.Context}}</small>{{end}}
</div>
<div class="label-issues">