2019-12-21 20:55:43 +05:30
|
|
|
<script>
|
|
|
|
import { GlLink } from '@gitlab/ui';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
GlLink,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
artifacts: {
|
|
|
|
type: Array,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<template>
|
2021-09-30 23:02:18 +05:30
|
|
|
<div class="gl-pl-7">
|
|
|
|
<table class="table m-0">
|
|
|
|
<thead class="thead-white text-nowrap">
|
|
|
|
<tr class="d-none d-sm-table-row">
|
|
|
|
<th>{{ __('Artifact') }}</th>
|
|
|
|
<th>{{ __('Job') }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2019-12-21 20:55:43 +05:30
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
<tbody>
|
|
|
|
<tr v-for="item in artifacts" :key="item.text">
|
|
|
|
<td>
|
|
|
|
<gl-link :href="item.url" target="_blank">{{ item.text }}</gl-link>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<gl-link :href="item.job_path">{{ item.job_name }}</gl-link>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2019-12-21 20:55:43 +05:30
|
|
|
</template>
|