mirror of
https://github.com/go-gitea/gitea
synced 2025-07-30 06:08:35 +00:00
Refactor template empty checks (#28351)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="flex-list">
|
||||
{{if eq (len .Runs) 0}}
|
||||
{{if not .Runs}}
|
||||
<div class="empty-placeholder">
|
||||
{{svg "octicon-no-entry" 48}}
|
||||
<h2>{{if $.IsFiltered}}{{ctx.Locale.Tr "actions.runs.no_results"}}{{else}}{{ctx.Locale.Tr "actions.runs.no_runs"}}{{end}}</h2>
|
||||
|
Reference in New Issue
Block a user