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