プロフィール画面が非ログイン時にコケないようにした
This commit is contained in:
parent
6ed0938694
commit
723bb236c9
@ -60,7 +60,7 @@
|
||||
</form>
|
||||
@endauth
|
||||
@guest
|
||||
<form class="form-inline">
|
||||
<form class="form-inline ml-auto">
|
||||
<a href="{{ route('login') }}" class="btn btn-outline-success">ログイン</a>
|
||||
</form>
|
||||
@endguest
|
||||
|
@ -7,7 +7,7 @@
|
||||
<!-- span -->
|
||||
<div class="d-flex justify-content-between">
|
||||
<h5>{{ $ejaculation->ejaculated_span ?? '精通' }} <small class="text-muted">{{ $ejaculation->before_date }}{{ !empty($ejaculation->before_date) ? ' ~ ' : '' }}{{ $ejaculation->ejaculated_date->format('Y/m/d H:i') }}</small></h5>
|
||||
@if ($user->id === Auth::user()->id)
|
||||
@if (Auth::check() && $user->id === Auth::user()->id)
|
||||
<div>
|
||||
<a class="text-secondary timeline-action-item" href="#"><span class="oi oi-pencil" data-toggle="tooltip" data-placement="bottom" title="修正"></span></a>
|
||||
<a class="text-secondary timeline-action-item" href="#" data-toggle="modal" data-target="#deleteCheckinModal" data-id="{{ $ejaculation->id }}" data-date="{{ $ejaculation->ejaculated_date }}"><span class="oi oi-trash" data-toggle="tooltip" data-placement="bottom" title="削除"></span></a>
|
||||
|
Loading…
Reference in New Issue
Block a user