diff options
Diffstat (limited to 'templates/repo/actions/list.tmpl')
-rw-r--r-- | templates/repo/actions/list.tmpl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/repo/actions/list.tmpl b/templates/repo/actions/list.tmpl index b0e513cfb2..15f0d607a3 100644 --- a/templates/repo/actions/list.tmpl +++ b/templates/repo/actions/list.tmpl @@ -10,14 +10,10 @@ <div class="divider"></div> {{range .workflows}} <a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="{{$.Link}}?workflow={{.Entry.Name}}">{{.Entry.Name}} - {{if .IsInvalid}} - <span data-tooltip-content="{{$.locale.Tr "actions.runs.invalid_workflow_helper" (.ErrMsg)}}"> + {{if .ErrMsg}} + <span data-tooltip-content="{{.ErrMsg}}"> <i class="warning icon red"></i> </span> - {{else}} - <span data-tooltip-content="{{$.locale.Tr "actions.runs.valid_workflow_helper"}}"> - <i class="check icon green"></i> - </span> {{end}} </a> {{end}} |