2018-08-25 23:48:58 +01:00
|
|
|
<hr />
|
2018-08-19 18:02:02 +01:00
|
|
|
<article>
|
2018-08-26 21:37:55 +01:00
|
|
|
@component('event_info', [
|
2018-08-26 01:29:36 +01:00
|
|
|
'account' => $status['account'],
|
2018-08-26 21:37:55 +01:00
|
|
|
'created_at' => $status['created_at'],
|
|
|
|
'type' => $status['in_reply_to_id'] === null ? null : 'reply'
|
2018-08-26 01:29:36 +01:00
|
|
|
])
|
|
|
|
@endcomponent
|
|
|
|
|
2018-08-19 18:30:15 +01:00
|
|
|
@if ($status['spoiler_text'] !== '')
|
|
|
|
<details>
|
|
|
|
<summary>{{ $status['spoiler_text'] }}</summary>
|
|
|
|
|
|
|
|
@component('status_content', ['status' => $status])
|
|
|
|
@endcomponent
|
|
|
|
</details>
|
2018-08-12 17:55:07 +01:00
|
|
|
@else
|
2018-08-19 18:30:15 +01:00
|
|
|
@component('status_content', ['status' => $status])
|
2018-08-12 17:55:07 +01:00
|
|
|
@endcomponent
|
|
|
|
@endif
|
2018-08-13 00:28:45 +01:00
|
|
|
|
|
|
|
<div class="actions">
|
2018-08-26 21:37:55 +01:00
|
|
|
<!-- Context -->
|
|
|
|
<span title="Expand thread">
|
|
|
|
<a href="/status/{{ $status['id'] }}/thread">⥈</a>
|
|
|
|
</span>
|
|
|
|
|
2018-08-13 00:28:45 +01:00
|
|
|
<!-- Reply -->
|
2018-08-26 21:37:55 +01:00
|
|
|
<span title="Reply">
|
2018-08-14 06:19:55 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}">↵</a>
|
2018-08-13 00:28:45 +01:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<!-- Reblog -->
|
2018-08-26 21:37:55 +01:00
|
|
|
<span title="Reblog">
|
2018-08-19 18:50:28 +01:00
|
|
|
@if ($status['reblogged'])
|
|
|
|
<span class="reblogged">
|
2018-08-26 22:34:01 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}/unreblog">↺</a>
|
2018-08-19 18:50:28 +01:00
|
|
|
</span>
|
|
|
|
@else
|
2018-08-26 22:34:01 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}/reblog">↺</a>
|
2018-08-19 18:50:28 +01:00
|
|
|
@endif
|
|
|
|
{{ $status['reblogs_count'] }}
|
2018-08-13 00:28:45 +01:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<!-- Favourite -->
|
2018-08-26 21:37:55 +01:00
|
|
|
<span title="Favourite">
|
2018-08-18 23:48:00 +01:00
|
|
|
@if ($status['favourited'])
|
2018-08-19 18:50:28 +01:00
|
|
|
<span class="favourited">
|
2018-08-26 22:34:01 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}/unfavourite">★</a>
|
2018-08-19 18:50:28 +01:00
|
|
|
</span>
|
2018-08-13 00:28:45 +01:00
|
|
|
@else
|
2018-08-26 22:34:01 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}/favourite">☆</a>
|
2018-08-13 00:28:45 +01:00
|
|
|
@endif
|
|
|
|
{{ $status['favourites_count'] }}
|
|
|
|
</span>
|
|
|
|
</div>
|
2018-08-19 18:02:02 +01:00
|
|
|
</article>
|
2018-08-25 23:48:58 +01:00
|
|
|
<hr />
|