2018-11-08 19:23:39 +05:30
|
|
|
<script>
|
|
|
|
import Icon from '../../../../vue_shared/components/icon.vue';
|
|
|
|
import CiIcon from '../../../../vue_shared/components/ci_icon.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
Icon,
|
|
|
|
CiIcon,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
job: {
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
jobId() {
|
|
|
|
return `#${this.job.id}`;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="d-flex align-items-center">
|
2019-02-15 15:39:39 +05:30
|
|
|
<ci-icon :status="job.status" :borderless="true" :size="24" class="d-flex" />
|
2018-11-08 19:23:39 +05:30
|
|
|
<span class="prepend-left-8">
|
|
|
|
{{ job.name }}
|
2020-03-13 15:44:24 +05:30
|
|
|
<a :href="job.path" target="_blank" class="ide-external-link position-relative">
|
2019-02-15 15:39:39 +05:30
|
|
|
{{ jobId }} <icon :size="12" name="external-link" />
|
2018-11-08 19:23:39 +05:30
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</template>
|