diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-06-24 23:31:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 15:31:28 +0000 |
commit | 083818cb85f87e3adb0952f25d8fb2c2107364e2 (patch) | |
tree | 9fe820b4089dd3048f84062749da60caca8dce3f /templates/repo/issue | |
parent | 5eeddfde10302634bb7f90a81422becfdbc1e17e (diff) | |
download | gitea-083818cb85f87e3adb0952f25d8fb2c2107364e2.tar.gz gitea-083818cb85f87e3adb0952f25d8fb2c2107364e2.zip |
Improve loadprojects for issue list (#25468)
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index f429655541..0bc1684489 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -192,9 +192,9 @@ </div> </div> <div class="ui select-project list"> - <span class="no-select item {{if .Issue.ProjectID}}gt-hidden{{end}}">{{.locale.Tr "repo.issues.new.no_projects"}}</span> + <span class="no-select item {{if .Issue.Project}}gt-hidden{{end}}">{{.locale.Tr "repo.issues.new.no_projects"}}</span> <div class="selected"> - {{if .Issue.ProjectID}} + {{if .Issue.Project}} <a class="item muted sidebar-item-link" href="{{.Issue.Project.Link}}"> {{svg .Issue.Project.IconName 18 "gt-mr-3"}}{{.Issue.Project.Title}} </a> |