2020-11-17 00:02:41 -05:00
|
|
|
<a
|
|
|
|
class="ui label item {{if not .label.IsChecked}}hide{{end}}"
|
|
|
|
id="label_{{.label.ID}}"
|
2021-11-16 13:18:25 -05:00
|
|
|
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 */}}
|
2020-11-17 00:02:41 -05:00
|
|
|
style="color: {{.label.ForegroundColor}}; background-color: {{.label.Color}}"
|
|
|
|
title="{{.label.Description | RenderEmojiPlain}}"
|
|
|
|
>
|
2020-12-29 18:48:28 -05:00
|
|
|
{{.label.Name | RenderEmoji}}
|
2020-11-17 00:02:41 -05:00
|
|
|
</a>
|