pleroma-fe/src/components/timeline/timeline.vue

14 lines
437 B
Vue
Raw Normal View History

2016-10-27 04:03:55 +11:00
<template>
<div class="timeline">
2016-10-29 00:40:13 +11: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-10-29 00:19:42 +11:00
<status v-for="status in timeline.visibleStatuses" v-bind:status="status"></status>
2016-10-27 04:03:55 +11:00
</div>
</template>
<script src="./timeline.js"></script>