aboutsummaryrefslogtreecommitdiff
path: root/src/components/conversation/conversation.vue
blob: 96e8a5d7815fcb56e043b81844c3ef3a39d49ac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<template>
  <div class="timeline panel panel-default base00-background">
    <div class="panel-heading base01-background base04 base03-border conversation-heading">
      Conversation
      <span v-if="collapsable" style="float:right;">
        <small><a href="#" @click.prevent="$emit('toggleExpanded')">Collapse</a></small>
      </span>
    </div>
    <div class="panel-body">
      <div class="timeline">
        <status v-for="status in conversation" @goto="setHighlight" :key="status.id" :statusoid="status" :expandable='false' :focused="focused(status.id)" :inConversation='true' :highlight="highlight" :replies="getReplies(status.id)"></status>
      </div>
    </div>
  </div>
</template>

<script src="./conversation.js"></script>

<style lang="scss">
  .conversation-heading {
    border-bottom-style: solid;
    border-bottom-width: 1px;
  }
</style>