2018-03-17 18:26:18 +05:30
|
|
|
<script>
|
2019-02-15 15:39:39 +05:30
|
|
|
import TimelineEntryItem from '~/vue_shared/components/notes/timeline_entry_item.vue';
|
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
/**
|
|
|
|
* Common component to render a placeholder system note.
|
|
|
|
*
|
|
|
|
* @example
|
|
|
|
* <placeholder-system-note
|
|
|
|
* :note="{ body: 'Commands are being applied'}"
|
|
|
|
* />
|
|
|
|
*/
|
|
|
|
export default {
|
|
|
|
name: 'PlaceholderSystemNote',
|
2019-02-15 15:39:39 +05:30
|
|
|
components: {
|
|
|
|
TimelineEntryItem,
|
|
|
|
},
|
2018-12-13 13:39:08 +05:30
|
|
|
props: {
|
|
|
|
note: {
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2018-12-13 13:39:08 +05:30
|
|
|
},
|
|
|
|
};
|
2018-03-17 18:26:18 +05:30
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2019-02-15 15:39:39 +05:30
|
|
|
<timeline-entry-item class="note system-note being-posted fade-in-half">
|
|
|
|
<div class="timeline-content">
|
|
|
|
<em>{{ note.body }}</em>
|
2018-03-17 18:26:18 +05:30
|
|
|
</div>
|
2019-02-15 15:39:39 +05:30
|
|
|
</timeline-entry-item>
|
2018-03-17 18:26:18 +05:30
|
|
|
</template>
|