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

placeholder_system_note.vue « notes « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7689425eb528b02fbf18188ebefb6593844bf5f4 (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
<script>
import TimelineEntryItem from '~/vue_shared/components/notes/timeline_entry_item.vue';

/**
 * Common component to render a placeholder system note.
 *
 * @example
 * <placeholder-system-note
 *  :note="{ body: 'Commands are being applied'}"
 *  />
 */
export default {
  name: 'PlaceholderSystemNote',
  components: {
    TimelineEntryItem,
  },
  props: {
    note: {
      type: Object,
      required: true,
    },
  },
};
</script>

<template>
  <timeline-entry-item class="note system-note being-posted fade-in-half">
    <div class="timeline-content">
      <em>{{ note.body }}</em>
    </div>
  </timeline-entry-item>
</template>