非公開アカウント対応

This commit is contained in:
shibafu
2017-11-05 21:59:01 +09:00
parent d0c9e3a3af
commit 7e9501ab9d
5 changed files with 114 additions and 81 deletions

View File

@@ -1,4 +1,10 @@
@extends('user.base')
@section('tab-content')
@if ($user->is_protected && !(Auth::check() && $user->id === Auth::user()->id))
<p class="mt-4">
<span class="oi oi-lock-locked"></span> このユーザはチェックイン履歴を公開していません。
</p>
@else
@endif
@endsection