mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-15 05:58:16 +00:00
4ef8b139f2
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 (cherry picked from commit4b09dd11ec
)
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>
|