aboutsummaryrefslogtreecommitdiff
path: root/app/views/blubber/index.php
blob: 0055f97fa0eefbaca99877c5fdf36d750cac389d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="blubber_panel"
     data-active_thread="<?= htmlReady(!empty($thread) ? $thread->getId() : '') ?>"
     data-thread_data="<?= htmlReady(json_encode($thread_data ?: ['thread_posting' => []])) ?>"
     data-threads_more_down="<?= htmlReady($threads_more_down) ?>"
     :class="waiting ? 'waiting' : ''" v-cloak>

    <div id="blubber_stream_container">
        <blubber-thread :thread_data="thread_data"></blubber-thread>
    </div>

    <div class="blubber_sideinfo responsive-hidden" v-if="thread_data.context_info || thread_data.thread_posting.content">
        <div class="posting" v-show="display_context_posting">
            <div class="header">
                <studip-date-time :timestamp="thread_data.thread_posting.mkdate" :relative="true"></studip-date-time>
                <div>{{ thread_data.thread_posting.user_name }}</div>
            </div>
            <div class="content" v-html="thread_data.thread_posting.html"></div>
        </div>
        <div v-if="thread_data.context_info" class="context_info" v-html="thread_data.context_info"></div>
    </div>
</div>