非公開チェックインのいいねに「非公開」の表記がなかったので付けた

This commit is contained in:
shibafu 2019-04-21 02:14:08 +09:00
parent d02b65e4ed
commit 464b690fbd

View File

@ -6,8 +6,11 @@
</h5>
</div>
<!-- tags -->
@if ($ejaculation->tags->isNotEmpty())
@if ($ejaculation->is_private || $ejaculation->tags->isNotEmpty())
<p class="mb-2">
@if ($ejaculation->is_private)
<span class="badge badge-warning"><span class="oi oi-lock-locked"></span> 非公開</span>
@endif
@foreach ($ejaculation->tags as $tag)
<a class="badge badge-secondary" href="{{ route('search', ['q' => $tag->name]) }}"><span class="oi oi-tag"></span> {{ $tag->name }}</a>
@endforeach