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