@extends('layouts.base') @if (!$user->isMe() && ($user->is_protected || $ejaculation->is_private)) @section('title', $user->display_name . ' さんのチェックイン') @else @section('title', $user->display_name . ' さんのチェックイン (' . $ejaculation->ejaculated_date->format('n月j日 H:i') . ')') @endif @section('content')
@component('components.profile', ['user' => $user]) @endcomponent
@if ($user->is_protected && !$user->isMe())
このユーザはチェックイン履歴を公開していません。
@elseif ($ejaculation->is_private && !$user->isMe())
非公開チェックインのため、表示できません
@else
{{ $ejaculation->ejaculatedSpan() }} {{ !empty($ejaculation->before_date) && !$ejaculation->discard_elapsed_time ? $ejaculation->before_date . ' ~ ' : '' }}{{ $ejaculation->ejaculated_date->format('Y/m/d H:i') }}
@if ($ejaculation->is_private || $ejaculation->source !== 'web' || $ejaculation->tags->isNotEmpty())

@if ($ejaculation->is_private) 非公開 @endif @switch ($ejaculation->source) @case ('csv') インポート @break @case ('webhook') @break @endswitch @foreach ($ejaculation->tags as $tag) {{ $tag->name }} @endforeach

@endif @if (!empty($ejaculation->link))
@component('components.link-card', ['link' => $ejaculation->link, 'is_too_sensitive' => $ejaculation->is_too_sensitive]) @endcomponent

{{ $ejaculation->link }}

@endif @if (!empty($ejaculation->note))

{!! Formatter::linkify(nl2br(e($ejaculation->note))) !!}

@endif @if ($ejaculation->likes_count > 0)
{{ $ejaculation->likes_count }} 件のいいね
@endif
@if ($user->isMe()) @endif
@endif
@component('components.modal', ['id' => 'deleteCheckinModal']) @slot('title') 削除確認 @endslot のチェックインを削除してもよろしいですか? @slot('footer')
{{ csrf_field() }} {{ method_field('DELETE') }}
@endslot @endcomponent @endsection