File tree Expand file tree Collapse file tree 2 files changed +29
-24
lines changed Expand file tree Collapse file tree 2 files changed +29
-24
lines changed Original file line number Diff line number Diff line change 1010 <div class="ui fluid vertical menu">
1111 <a class="item{{if not $.CurWorkflow}} active{{end}}" href="?actor={{$.CurActor}}&status={{$.CurStatus}}">{{ctx.Locale.Tr "actions.runs.all_workflows"}}</a>
1212 {{range .workflows}}
13- <a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="?workflow={{.Entry.Name}}&actor={{$.CurActor}}&status={{$.CurStatus}}">{{.Entry.Name}}
14- {{if .ErrMsg}}
15- <span class="flex-text-inline" data-tooltip-content="{{.ErrMsg}}">
16- {{svg "octicon-alert" 16 "text red"}}
17- </span>
18- {{end}}
13+ <a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="?workflow={{.Entry.Name}}&actor={{$.CurActor}}&status={{$.CurStatus}}">
14+ <div class="flex-text-block">
15+ {{.Entry.Name}}
16+ {{if .ErrMsg}}
17+ <span class="flex-text-inline" data-tooltip-content="{{.ErrMsg}}">
18+ {{svg "octicon-alert" 16 "text red"}}
19+ </span>
20+ {{end}}
1921
20- {{if $.ActionsConfig.IsWorkflowDisabled .Entry.Name}}
21- <div class="ui red label">{{ctx.Locale.Tr "disabled"}}</div>
22- {{end}}
22+ {{if $.ActionsConfig.IsWorkflowDisabled .Entry.Name}}
23+ <div class="ui red label">{{ctx.Locale.Tr "disabled"}}</div>
24+ {{end}}
25+ </div>
2326 </a>
2427 {{end}}
2528 </div>
Original file line number Diff line number Diff line change 1515 {{or $run.Title (ctx.Locale.Tr "actions.runs.empty_commit_message")}}
1616 </a>
1717 <div class="flex-item-body">
18- <span><b>{{if not $.CurWorkflow}}{{$run.WorkflowID}} {{end}}#{{$run.Index}}</b>:</span>
19- {{- if $run.ScheduleID -}}
20- {{ctx.Locale.Tr "actions.runs.scheduled"}}
21- {{- else -}}
22- {{ctx.Locale.Tr "actions.runs.commit"}}
23- <a href="{{$.RepoLink}}/commit/{{$run.CommitSHA}}">{{ShortSha $run.CommitSHA}}</a>
24- {{ctx.Locale.Tr "actions.runs.pushed_by"}}
25- <a href="{{$run.TriggerUser.HomeLink}}">{{$run.TriggerUser.GetDisplayName}}</a>
26- {{- end -}}
27- {{$errMsg := index $.RunErrors $run.ID}}
28- {{if $errMsg}}
29- <span class="flex-text-block" data-tooltip-content="{{$errMsg}}">
30- {{svg "octicon-alert" 16 "text red"}}
31- </span>
32- {{end}}
18+ <div class="flex-text-block">
19+ <span><b>{{if not $.CurWorkflow}}{{$run.WorkflowID}} {{end}}#{{$run.Index}}</b>:</span>
20+ {{- if $run.ScheduleID -}}
21+ {{ctx.Locale.Tr "actions.runs.scheduled"}}
22+ {{- else -}}
23+ {{ctx.Locale.Tr "actions.runs.commit"}}
24+ <a href="{{$.RepoLink}}/commit/{{$run.CommitSHA}}">{{ShortSha $run.CommitSHA}}</a>
25+ {{ctx.Locale.Tr "actions.runs.pushed_by"}}
26+ <a href="{{$run.TriggerUser.HomeLink}}">{{$run.TriggerUser.GetDisplayName}}</a>
27+ {{- end -}}
28+ {{$errMsg := index $.RunErrors $run.ID}}
29+ {{if $errMsg}}
30+ <span class="flex-text-inline" data-tooltip-content="{{$errMsg}}">
31+ {{svg "octicon-alert" 16 "text red"}}
32+ </span>
33+ {{end}}
34+ </div>
3335 </div>
3436 </div>
3537 <div class="flex-item-trailing">
You can’t perform that action at this time.
0 commit comments