Skip to content

Commit f5945c8

Browse files
committed
jobs status
1 parent 74334a7 commit f5945c8

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

client/src/components/ReviewMerged.vue

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,28 @@
88
<v-card-actions>
99
<v-container fluid class="pa-0">
1010
<v-btn class="ma-2" elevation="2" small outlined :href="review.web_url" target="blank">WEB</v-btn>
11-
<!--TOOD pop over menu?-->
12-
<v-tooltip bottom v-for="stage in pipeline.stages" v-bind:key="`merged-${pipeline.id}-${stage.name}`">
11+
<v-menu v-for="stage in pipeline.stages" v-bind:key="`jobs-${pipeline.id}-${stage.name}`"
12+
bottom
13+
offset-y
14+
>
1315
<template v-slot:activator="{ on, attrs }">
1416
<v-btn icon :color=stageColor(stage) v-bind:key="stage.name" v-bind="attrs" v-on="on">
1517
<v-icon>{{stageIcon(stage)}}</v-icon>
1618
</v-btn>
1719
</template>
18-
<span>{{ stage.name }}</span>
19-
</v-tooltip>
20+
21+
<v-list>
22+
<v-list-item
23+
v-for="(job, index) in stage.jobs"
24+
:key="index"
25+
>
26+
<v-btn icon :color=stageColor(job)>
27+
<v-icon>{{stageIcon(job)}}</v-icon>
28+
</v-btn>
29+
<v-list-item-title>{{ job.name }}</v-list-item-title>
30+
</v-list-item>
31+
</v-list>
32+
</v-menu>
2033
</v-container>
2134
</v-card-actions>
2235

0 commit comments

Comments
 (0)