2016-11-24 17:17:09 +00:00
|
|
|
<template>
|
2017-11-12 22:26:43 +00:00
|
|
|
<div class="timeline panel panel-default">
|
2018-03-31 18:14:36 +00:00
|
|
|
<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>
|
2017-03-07 14:00:45 +00:00
|
|
|
</span>
|
2017-02-04 12:52:26 +00:00
|
|
|
</div>
|
2016-11-24 17:17:09 +00:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="timeline">
|
2018-04-11 16:34:40 +00:00
|
|
|
<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)"
|
2018-04-11 16:34:40 +00:00
|
|
|
:inConversation='true'
|
|
|
|
:highlight="highlight"
|
|
|
|
:replies="getReplies(status.id)"
|
2019-03-11 14:52:28 +00:00
|
|
|
class="status-fadein"
|
|
|
|
/>
|
2016-11-24 17:17:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./conversation.js"></script>
|