summaryrefslogtreecommitdiffstats
path: root/templates/repo/actions
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-10-25 23:42:14 +0200
committerGitHub <noreply@github.com>2023-10-25 23:42:14 +0200
commit05aa91e6da54e0e8abd18d8dd2b5a29249c636ed (patch)
tree007da180c58a8919dd3650ecaf6387d342e7eee7 /templates/repo/actions
parentab3f6c1bac04ea43541d9abd5e7c21a67b0f6deb (diff)
downloadgitea-05aa91e6da54e0e8abd18d8dd2b5a29249c636ed.tar.gz
gitea-05aa91e6da54e0e8abd18d8dd2b5a29249c636ed.zip
Add dedicated class for empty placeholders (#27788)
Fixes: https://github.com/go-gitea/gitea/issues/27784 <img width="1033" alt="Screenshot 2023-10-25 at 19 07 15" src="https://github.com/go-gitea/gitea/assets/115237/1a363851-1a86-48cb-99ec-0a573371bb6e"> <img width="1051" alt="Screenshot 2023-10-25 at 19 07 41" src="https://github.com/go-gitea/gitea/assets/115237/add4b606-2264-430a-af35-249ef005817f"> Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'templates/repo/actions')
-rw-r--r--templates/repo/actions/runs_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/actions/runs_list.tmpl b/templates/repo/actions/runs_list.tmpl
index 37b19f0bdc..b3469a2edc 100644
--- a/templates/repo/actions/runs_list.tmpl
+++ b/templates/repo/actions/runs_list.tmpl
@@ -1,6 +1,6 @@
<div class="flex-list">
{{if eq (len .Runs) 0}}
- <div class="empty center">
+ <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>
</div>