2016-10-26 17:03:55 +00:00
|
|
|
<template>
|
|
|
|
<div class="timeline">
|
2016-10-28 13:40:13 +00:00
|
|
|
<a href="#" v-on:click.prevent='showNewStatuses()' v-if="timeline.newStatusCount > 0">
|
|
|
|
<div class="new-status-notification">
|
|
|
|
<p class="text-center" >
|
|
|
|
{{timeline.newStatusCount}} new statuses
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
2016-11-03 15:59:06 +00:00
|
|
|
<status v-for="status in timeline.visibleStatuses" :key="status.id" v-bind:statusoid="status"></status>
|
2016-11-06 16:44:05 +00:00
|
|
|
<a href="#" v-on:click.prevent='fetchOlderStatuses()' v-if="!timeline.loading">
|
|
|
|
<div class="new-status-notification">
|
|
|
|
<p class="text-center" >
|
|
|
|
Load older statuses.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
2016-10-26 17:03:55 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script src="./timeline.js"></script>
|