2016-11-25 04:17:09 +11:00
|
|
|
<template>
|
2017-11-13 09:26:43 +11:00
|
|
|
<div class="timeline panel panel-default">
|
2018-04-01 04:14:36 +10:00
|
|
|
<div class="panel-heading conversation-heading">
|
2017-11-08 21:34:15 +11:00
|
|
|
{{ $t('timeline.conversation') }}
|
2017-03-08 01:00:45 +11:00
|
|
|
<span v-if="collapsable" style="float:right;">
|
2018-05-20 04:35:14 +10:00
|
|
|
<small><a href="#" @click.prevent="$emit('toggleExpanded')">{{ $t('timeline.collapse') }}</a></small>
|
2017-03-08 01:00:45 +11:00
|
|
|
</span>
|
2017-02-04 23:52:26 +11:00
|
|
|
</div>
|
2016-11-25 04:17:09 +11:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="timeline">
|
2018-04-12 02:34:40 +10:00
|
|
|
<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>
|
2016-11-25 04:17:09 +11:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./conversation.js"></script>
|