aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-10-28 15:19:42 +0200
committerRoger Braun <roger@rogerbraun.net>2016-10-28 15:19:42 +0200
commit534f2e8195523ffae83ed85f4e9fddf2939929e3 (patch)
tree5504c7406234c448b80d00367e3ff1d87b0b35dd /src/components/timeline
parentf8d6fe41f0c639ce1c3f8072ef94de8e3419f1cf (diff)
Basic statuses.
Diffstat (limited to 'src/components/timeline')
-rw-r--r--src/components/timeline/timeline.js9
-rw-r--r--src/components/timeline/timeline.vue3
2 files changed, 8 insertions, 4 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 727008ad..fd36d0db 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -1,7 +1,12 @@
+import Status from '../status/status.vue'
+
const Timeline = {
props: [
'timeline'
- ]
+ ],
+ components: {
+ Status
+ }
}
-export default Timeline;
+export default Timeline
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index cf712796..562656f6 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -1,7 +1,6 @@
<template>
<div class="timeline">
- <h1>Timeline goes here</h1>
- <h2 v-for="status in timeline.visibleStatuses">{{status.text}}</h2>
+ <status v-for="status in timeline.visibleStatuses" v-bind:status="status"></status>
</div>
</template>
<script src="./timeline.js"></script>