mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 21:59:20 +01:00
ec3d467f15
We have to define this one in helpers.css because tailwind only generates a single class but certain things rely on this being double-class. Command ran: ```sh perl -p -i -e 's#gt-hidden#tw-hidden#g' web_src/js/**/* templates/**/* models/**/* web_src/css/**/* --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
7 lines
317 B
Handlebars
7 lines
317 B
Handlebars
<a
|
|
class="item {{if not .label.IsChecked}}tw-hidden{{end}}"
|
|
id="label_{{.label.ID}}"
|
|
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 */}}
|
|
>
|
|
{{- RenderLabel $.Context ctx.Locale .label -}}
|
|
</a>
|