mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 09:11:53 -05:00
c5bb91a9eb
Backport #28145 by @yp05327
Before:
![image](https://github.com/go-gitea/gitea/assets/18380374/599d40c1-9b8d-4189-9286-c9c36fb780dd)
After:
![image](https://github.com/go-gitea/gitea/assets/18380374/848a73d1-aaec-478f-93a7-adcc7ee18907)
Co-authored-by: yp05327 <576951401@qq.com>
(cherry picked from commit 9bfee5014b
)
8 lines
427 B
Go HTML Template
8 lines
427 B
Go HTML Template
<div class="empty-placeholder">
|
|
{{svg "octicon-no-entry" 48}}
|
|
<h2>{{ctx.Locale.Tr "actions.runs.no_workflows"}}</h2>
|
|
{{if and .CanWriteCode .CanWriteActions}}
|
|
<p>{{ctx.Locale.Tr "actions.runs.no_workflows.quick_start" "https://docs.gitea.com/usage/actions/quickstart/" | Safe}}</p>
|
|
{{end}}
|
|
<p>{{ctx.Locale.Tr "actions.runs.no_workflows.documentation" "https://docs.gitea.com/usage/actions/overview/" | Safe}}</p>
|
|
</div>
|