mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-29 21:26:10 +01:00
4b09dd11ec
This is a squashed result of conflict resolution for the following commits from Gitea: -36de5b299b
-9a93b1816e
-712e19fa6f
-83850cc479
It is lacking CSS rule for archived labels, though. Changes in this commit are authored by: - 6543 - delvh - silverwind
8 lines
317 B
Go HTML Template
8 lines
317 B
Go HTML Template
<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>
|