2020-11-17 13:02:41 +08:00
|
|
|
<a
|
2023-02-19 12:06:14 +08:00
|
|
|
class="item {{if not .label.IsChecked}}gt-hidden{{end}}"
|
2020-11-17 13:02:41 +08:00
|
|
|
id="label_{{.label.ID}}"
|
2021-11-17 02:18:25 +08: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 13:02:41 +08:00
|
|
|
>
|
2023-03-07 00:32:40 +08:00
|
|
|
{{RenderLabel $.Context .label}}
|
2020-11-17 13:02:41 +08:00
|
|
|
</a>
|