1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Refactor template empty checks (#28351)

This commit is contained in:
KN4CK3R
2023-12-04 22:48:42 +01:00
committed by GitHub
parent ec1feedbf5
commit b3c258828f
11 changed files with 23 additions and 23 deletions

View File

@@ -339,7 +339,7 @@
</div>
</div>
{{end}}
{{if gt (len .WorkingUsers) 0}}
{{if .WorkingUsers}}
<div class="divider"></div>
<div class="ui comments">
<span class="text"><strong>{{ctx.Locale.Tr "repo.issues.time_spent_from_all_authors" ($.Issue.TotalTrackedTime | Sec2Time) | Safe}}</strong></span>