1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00
yp05327
2023-11-21 17:27:33 +09:00
committed by GitHub
parent 976a9926d7
commit a6a674e26a
4 changed files with 16 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
<div class="ui container">
{{template "base/alert" .}}
{{if .workflows}}
<div class="ui stackable grid">
<div class="four wide column">
<div class="ui fluid vertical menu">
@@ -78,6 +79,9 @@
{{template "repo/actions/runs_list" .}}
</div>
</div>
{{else}}
{{template "repo/actions/no_workflows" .}}
{{end}}
</div>
</div>
{{template "base/footer" .}}

View File

@@ -0,0 +1,8 @@
<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>