mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 21:54:04 +01:00
fix: indicate there are no projects to choose from
This commit is contained in:
parent
3a375a1de3
commit
9b214b362d
1 changed files with 5 additions and 0 deletions
|
@ -168,6 +168,11 @@
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="no-select item">{{ctx.Locale.Tr "repo.issues.new.clear_projects"}}</div>
|
<div class="no-select item">{{ctx.Locale.Tr "repo.issues.new.clear_projects"}}</div>
|
||||||
|
{{if and (not .OpenProjects) (not .ClosedProjects)}}
|
||||||
|
<div class="disabled item">
|
||||||
|
{{ctx.Locale.Tr "repo.issues.new.no_items"}}
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
{{if .OpenProjects}}
|
{{if .OpenProjects}}
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
|
|
Loading…
Reference in a new issue