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/cycle_analytics/components/stage_component.vue')
-rw-r--r--app/assets/javascripts/cycle_analytics/components/stage_component.vue54
1 files changed, 0 insertions, 54 deletions
diff --git a/app/assets/javascripts/cycle_analytics/components/stage_component.vue b/app/assets/javascripts/cycle_analytics/components/stage_component.vue
deleted file mode 100644
index cc7ae74dd3a..00000000000
--- a/app/assets/javascripts/cycle_analytics/components/stage_component.vue
+++ /dev/null
@@ -1,54 +0,0 @@
-<script>
-import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
-import limitWarning from './limit_warning_component.vue';
-import totalTime from './total_time_component.vue';
-
-export default {
- components: {
- userAvatarImage,
- limitWarning,
- totalTime,
- },
- props: {
- items: {
- type: Array,
- default: () => [],
- required: false,
- },
- stage: {
- type: Object,
- default: () => ({}),
- required: false,
- },
- },
-};
-</script>
-<template>
- <div>
- <div class="events-description">
- {{ stage.description }}
- <limit-warning :count="items.length" />
- </div>
- <ul class="stage-event-list">
- <li v-for="(issue, i) in items" :key="i" class="stage-event-item">
- <div class="item-details">
- <!-- FIXME: Pass an alt attribute here for accessibility -->
- <user-avatar-image :img-src="issue.author.avatarUrl" />
- <h5 class="item-title issue-title">
- <a :href="issue.url" class="issue-title"> {{ issue.title }} </a>
- </h5>
- <a :href="issue.url" class="issue-link">#{{ issue.iid }}</a> &middot;
- <span>
- {{ s__('OpenedNDaysAgo|Opened') }}
- <a :href="issue.url" class="issue-date">{{ issue.createdAt }}</a>
- </span>
- <span>
- {{ s__('ByAuthor|by') }}
- <a :href="issue.author.webUrl" class="issue-author-link"> {{ issue.author.name }} </a>
- </span>
- </div>
- <div class="item-time"><total-time :time="issue.totalTime" /></div>
- </li>
- </ul>
- </div>
-</template>