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

32 lines
983 B
Vue
Raw Normal View History

<template>
<div class="timeline panel panel-default">
<div class="panel-heading conversation-heading">
2018-08-30 17:16:36 +00:00
<span class="title"> {{ $t('timeline.conversation') }} </span>
<span v-if="collapsable">
2018-09-03 20:30:07 +00:00
<a href="#" @click.prevent="$emit('toggleExpanded')">{{ $t('timeline.collapse') }}</a>
</span>
</div>
<div class="panel-body">
<div class="timeline">
<status
v-for="status in conversation"
2019-03-11 14:52:28 +00:00
@goto="setHighlight"
@toggleReplying="toggleReplying"
:replying="replying && status.id === statusId"
:key="status.id"
:inlineExpanded="collapsable"
:statusoid="status"
:expandable='false'
:focused="focused(status.id)"
:inConversation='true'
:highlight="highlight"
:replies="getReplies(status.id)"
2019-03-11 14:52:28 +00:00
class="status-fadein"
/>
</div>
</div>
</div>
</template>
<script src="./conversation.js"></script>