mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-04 10:30:19 -05:00
2dc87d389d
* Fixes https://codeberg.org/forgejo/forgejo/issues/4522 * Fixes https://codeberg.org/forgejo/forgejo/issues/4522#issuecomment-2095542 * Fixes https://codeberg.org/forgejo/forgejo/issues/4544 * Fixes regression of https://codeberg.org/forgejo/forgejo/pulls/4486 * Fixes regression of some cherry-pick * Fixes an overflow that wasn't even reported * Revert changes done in https://codeberg.org/forgejo/forgejo/pulls/4486. * Apply changes proposed in https://codeberg.org/forgejo/forgejo/issues/3875#issuecomment-1840611. * Introduce new label `ugc-labels` to mark ui labels that are named by users and therefore need special care. Currently the generic label classes are used for too many things to work with them directly without affecting other UI.
11 lines
422 B
Go HTML Template
11 lines
422 B
Go HTML Template
<div class="ui labels list">
|
|
<span class="no-select {{if .root.HasSelectedLabel}}tw-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_label"}}</span>
|
|
<span class="labels-list ugc-labels">
|
|
{{range .root.Labels}}
|
|
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
|
|
{{end}}
|
|
{{range .root.OrgLabels}}
|
|
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
|
|
{{end}}
|
|
</span>
|
|
</div>
|