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

history_element.vue « components « details « packages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8a51c1528cf90cc8e2cf4bf32c93c00ea62c901a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<script>
import { GlIcon } from '@gitlab/ui';
import TimelineEntryItem from '~/vue_shared/components/notes/timeline_entry_item.vue';

export default {
  name: 'HistoryElement',
  components: {
    GlIcon,
    TimelineEntryItem,
  },

  props: {
    icon: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <timeline-entry-item class="system-note note-wrapper gl-mb-6!">
    <div class="timeline-icon">
      <gl-icon :name="icon" />
    </div>
    <div class="timeline-content">
      <div class="note-header">
        <span>
          <slot></slot>
        </span>
      </div>
      <div class="note-body"></div>
    </div>
  </timeline-entry-item>
</template>