pleroma-fe/src/components/conversation/conversation.vue
Henry Jameson 065d1c7f49 fix
2018-08-30 20:16:36 +03:00

26 lines
876 B
Vue

<template>
<div class="timeline panel panel-default">
<div class="panel-heading conversation-heading">
<span class="title"> {{ $t('timeline.conversation') }} </span>
<span v-if="collapsable">
<small><a href="#" @click.prevent="$emit('toggleExpanded')">{{ $t('timeline.collapse') }}</a></small>
</span>
</div>
<div class="panel-body">
<div class="timeline">
<status
v-for="status in conversation"
@goto="setHighlight" :key="status.id"
:inlineExpanded="collapsable" :statusoid="status"
:expandable='false' :focused="focused(status.id)"
:inConversation='true'
:highlight="highlight"
:replies="getReplies(status.id)"
class="status-fadein">
</status>
</div>
</div>
</div>
</template>
<script src="./conversation.js"></script>