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