2016-11-24 17:17:09 +00:00
|
|
|
<template>
|
2019-03-25 14:50:09 +00:00
|
|
|
<div class="timeline panel-default" :class="[isExpanded ? 'panel' : 'panel-disabled']">
|
|
|
|
<div v-if="isExpanded" class="panel-heading conversation-heading">
|
2018-08-30 17:16:36 +00:00
|
|
|
<span class="title"> {{ $t('timeline.conversation') }} </span>
|
|
|
|
<span v-if="collapsable">
|
2019-03-11 20:24:37 +00:00
|
|
|
<a href="#" @click.prevent="toggleExpanded">{{ $t('timeline.collapse') }}</a>
|
2017-03-07 14:00:45 +00:00
|
|
|
</span>
|
2017-02-04 12:52:26 +00:00
|
|
|
</div>
|
2019-03-25 18:59:47 +00:00
|
|
|
<status
|
|
|
|
v-for="status in conversation"
|
|
|
|
@goto="setHighlight"
|
|
|
|
@toggleExpanded="toggleExpanded"
|
|
|
|
:key="status.id"
|
|
|
|
:inlineExpanded="collapsable"
|
|
|
|
:statusoid="status"
|
|
|
|
:focused="focused(status.id)"
|
|
|
|
:inConversation="isExpanded"
|
|
|
|
:highlight="getHighlight()"
|
|
|
|
:replies="getReplies(status.id)"
|
|
|
|
class="status-fadein panel-body"
|
|
|
|
/>
|
2016-11-24 17:17:09 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./conversation.js"></script>
|
2019-03-11 20:24:37 +00:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import '../../_variables.scss';
|
|
|
|
|
|
|
|
.timeline {
|
|
|
|
.panel-disabled {
|
|
|
|
.status-el {
|
|
|
|
border-left: none;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
border-color: var(--border, $fallback--border);
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|