2018-08-25 23:48:58 +01:00
|
|
|
<hr />
|
2018-08-19 18:02:02 +01:00
|
|
|
<article>
|
|
|
|
<span title="{{ $status['account']['acct'] }}">
|
2018-08-12 17:55:07 +01:00
|
|
|
<a href="{{ $status['account']['url'] }}">
|
|
|
|
<img
|
|
|
|
src="{{ $status['account']['avatar'] }}"
|
|
|
|
alt="{{ $status['account']['acct'] }}"
|
|
|
|
class="avatar"
|
|
|
|
/>
|
|
|
|
{{ $status['account']['display_name'] }}
|
|
|
|
</a>
|
2018-08-19 18:02:02 +01:00
|
|
|
</span>
|
2018-08-13 00:53:59 +01:00
|
|
|
<time datetime="{{ $status['created_at'] }}">
|
|
|
|
@php
|
|
|
|
$created_at = new Carbon\Carbon($status['created_at']);
|
|
|
|
@endphp
|
|
|
|
@if (env('SHOW_BEATS') === true)
|
|
|
|
{{ '@' . $created_at->format('B') }} |
|
|
|
|
@endif
|
|
|
|
{{ $created_at->diffForHumans(null, false, true) }}
|
|
|
|
</time>
|
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">
|
|
|
|
<!-- Reply -->
|
|
|
|
<span>
|
2018-08-14 06:19:55 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}">↵</a>
|
2018-08-13 00:28:45 +01:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<!-- Reblog -->
|
|
|
|
<span>
|
2018-08-19 18:50:28 +01:00
|
|
|
@if ($status['reblogged'])
|
|
|
|
<span class="reblogged">
|
2018-08-25 18:06:08 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}?action=unreblog">↺</a>
|
2018-08-19 18:50:28 +01:00
|
|
|
</span>
|
|
|
|
@else
|
2018-08-25 18:06:08 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}?action=reblog">↺</a>
|
2018-08-19 18:50:28 +01:00
|
|
|
@endif
|
|
|
|
{{ $status['reblogs_count'] }}
|
2018-08-13 00:28:45 +01:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<!-- Favourite -->
|
|
|
|
<span>
|
2018-08-18 23:48:00 +01:00
|
|
|
@if ($status['favourited'])
|
2018-08-19 18:50:28 +01:00
|
|
|
<span class="favourited">
|
|
|
|
<a href="/status/{{ $status['id'] }}?action=unfavourite">★</a>
|
|
|
|
</span>
|
2018-08-13 00:28:45 +01:00
|
|
|
@else
|
2018-08-19 17:24:28 +01:00
|
|
|
<a href="/status/{{ $status['id'] }}?action=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 />
|