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