Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/jobs/components/job/sidebar/sidebar_detail_row.vue')
-rw-r--r--app/assets/javascripts/jobs/components/job/sidebar/sidebar_detail_row.vue59
1 files changed, 0 insertions, 59 deletions
diff --git a/app/assets/javascripts/jobs/components/job/sidebar/sidebar_detail_row.vue b/app/assets/javascripts/jobs/components/job/sidebar/sidebar_detail_row.vue
deleted file mode 100644
index 0ba34eafa58..00000000000
--- a/app/assets/javascripts/jobs/components/job/sidebar/sidebar_detail_row.vue
+++ /dev/null
@@ -1,59 +0,0 @@
-<script>
-import { GlIcon, GlLink } from '@gitlab/ui';
-
-export default {
- name: 'SidebarDetailRow',
- components: {
- GlIcon,
- GlLink,
- },
- props: {
- title: {
- type: String,
- required: false,
- default: '',
- },
- value: {
- type: String,
- required: true,
- },
- helpUrl: {
- type: String,
- required: false,
- default: '',
- },
- path: {
- type: String,
- required: false,
- default: '',
- },
- },
- computed: {
- hasTitle() {
- return this.title.length > 0;
- },
- hasHelpURL() {
- return this.helpUrl.length > 0;
- },
- },
-};
-</script>
-<template>
- <p class="gl-display-flex gl-justify-content-space-between gl-mb-2">
- <span v-if="hasTitle">
- <b>{{ title }}:</b>
- <gl-link
- v-if="path"
- :href="path"
- class="gl-text-blue-600!"
- data-testid="job-sidebar-value-link"
- >
- {{ value }}
- </gl-link>
- <span v-else>{{ value }}</span>
- </span>
- <gl-link v-if="hasHelpURL" :href="helpUrl" target="_blank" data-testid="job-sidebar-help-link">
- <gl-icon name="question-o" />
- </gl-link>
- </p>
-</template>