forked from gitea/gitea
10 lines
433 B
Handlebars
10 lines
433 B
Handlebars
<a
|
|
class="ui label item {{if not .label.IsChecked}}hide{{end}}"
|
|
id="label_{{.label.ID}}"
|
|
href="{{.root.RepoLink}}/{{if or .root.IsPull .root.Issue.IsPull}}pulls{{else}}issues{{end}}?labels={{.label.ID}}"{{/* FIXME: use .root.Issue.Link or create .root.Link */}}
|
|
style="color: {{.label.ForegroundColor}}; background-color: {{.label.Color}}"
|
|
title="{{.label.Description | RenderEmojiPlain}}"
|
|
>
|
|
{{.label.Name | RenderEmoji}}
|
|
</a>
|