2
2
<div >
3
3
4
4
<h3 >Template information < / h3 >
5
- < div class = " mb-4">
6
- <div >Template: {{ template?.name }}</div >
7
- <div >App: {{ template?.app }}</div >
5
+ < div class = " mb-5">
6
+ <div >App: <b >{{ getAppTitle(template?.app) }}</b ></div >
7
+ <div >
8
+ Template: <RouterLink :to =" `/project/${projectId}/templates/${template?.id}`" >
9
+ {{ template?.name }}
10
+ </RouterLink >
11
+ </div >
8
12
</div >
9
13
10
14
<h3 >Commit info</h3 >
11
15
12
- <div class =" mb-4 " >
13
- <div >Commit message: {{ item.commit_message }}</div >
14
- <div >Commit hash: {{ item.commit_hash }}</div >
16
+ <div class =" mb-5 " >
17
+ <div >Commit message: < b > {{ item.commit_message }}</ b > </div >
18
+ <div >Commit hash: < code > {{ item.commit_hash }}</ code > </div >
15
19
</div >
16
20
17
21
<h3 >Running info</h3 >
18
22
19
- <div class =" mb-4 " >
20
- <div >Message: {{ item.message || '-' }}</div >
23
+ <div class =" mb-5 " >
24
+ <div >Message: < b > {{ item.message || '-' }}</ b > </div >
21
25
22
- <div v-if =" item.user_id != null" >{{ $t('author') }}: {{ user?.name || '-' }}</div >
26
+ <div v-if =" item.user_id != null" >{{ $t('author') }}: < b > {{ user?.name || '-' }}</ b > </div >
23
27
<div v-else-if =" item.integration_id != null" >
24
28
{{ $t('integration') }}: {{ item.integration_id }}
25
29
</div >
29
33
</div >
30
34
31
35
<h3 >Task parameters</h3 >
32
- <div class =" mb-4 " >
36
+ <div class =" mb-5 " >
33
37
<div >Limit: {{ item.params.limit }}</div >
34
38
<div >Debug: {{ item.params.debug }}</div >
35
39
<div >Debug level: {{ item.params.debug_level }}</div >
36
- <div >Diff: {{ item.params.diff }}</div >
37
- <div >Environment: {{ item.enviroment }}</div >
40
+ <div >Diff <code >--diff</code >: {{ item.params.diff }}</div >
41
+ <div >Dry run <code >--check</code >: {{ item.params.dry_run }}</div >
42
+ <div >Environment: {{ item.environment }}</div >
38
43
</div >
39
44
40
45
</div >
45
50
<script >
46
51
47
52
import ProjectMixin from ' @/components/ProjectMixin' ;
53
+ import AppsMixin from ' @/components/AppsMixin' ;
48
54
49
55
export default {
50
56
props: {
@@ -53,7 +59,7 @@ export default {
53
59
projectId: Number ,
54
60
},
55
61
56
- mixins: [ProjectMixin],
62
+ mixins: [ProjectMixin, AppsMixin ],
57
63
58
64
data () {
59
65
return {
0 commit comments