2
2
<div class =" action-view-container" >
3
3
<div class =" action-view-header" >
4
4
<div class =" action-info-summary" >
5
- <SvgIcon name =" octicon-check-circle-fill" size =" 20" class =" green" v-if =" run.status === 'success'" />
6
- <SvgIcon name =" octicon-clock" size =" 20" class =" ui text yellow" v-else-if =" run.status === 'waiting'" />
7
- <SvgIcon name =" octicon-meter" size =" 20" class =" ui text yellow" class-name =" job-status-rotate" v-else-if =" run.status === 'running'" />
8
- <SvgIcon name =" octicon-x-circle-fill" size =" 20" class =" red" v-else />
5
+ <ActionRunStatus :status =" run.status" size =" 20" />
9
6
<div class =" action-title" >
10
7
{{ run.title }}
11
8
</div >
23
20
<div class =" job-brief-list" >
24
21
<div class =" job-brief-item" v-for =" (job, index) in run.jobs" :key =" job.id" >
25
22
<a class =" job-brief-link" :href =" run.link+'/jobs/'+index" >
26
- <ActionsRunStatus :status =" job.status" size = " 20 " />
23
+ <ActionRunStatus :status =" job.status" />
27
24
<span class =" ui text" >{{ job.name }}</span >
28
25
</a >
29
26
<button class =" job-brief-rerun" @click =" rerunJob(index)" v-if =" job.canRerun" >
49
46
<SvgIcon name =" octicon-chevron-down" class =" gt-mr-3" v-show =" currentJobStepsStates[i].expanded" />
50
47
<SvgIcon name =" octicon-chevron-right" class =" gt-mr-3" v-show =" !currentJobStepsStates[i].expanded" />
51
48
52
- <ActionsRunStatus :status =" jobStep.status" class =" gt-mr-3" />
49
+ <ActionRunStatus :status =" jobStep.status" class =" gt-mr-3" />
53
50
54
51
<span class =" step-summary-msg" >{{ jobStep.summary }}</span >
55
52
<span class =" step-summary-dur" >{{ jobStep.duration }}</span >
66
63
67
64
<script >
68
65
import {SvgIcon } from ' ../svg.js' ;
69
- import ActionsRunStatus from ' ./ActionsRunStatus .vue' ;
66
+ import ActionRunStatus from ' ./ActionRunStatus .vue' ;
70
67
import {createApp } from ' vue' ;
71
68
import AnsiToHTML from ' ansi-to-html' ;
72
69
@@ -76,7 +73,7 @@ const sfc = {
76
73
name: ' RepoActionView' ,
77
74
components: {
78
75
SvgIcon,
79
- ActionsRunStatus ,
76
+ ActionRunStatus ,
80
77
},
81
78
props: {
82
79
runIndex: String ,
0 commit comments