去除 生日提醒
This commit is contained in:
parent
ecca9c2200
commit
b9f26fef70
@ -19,20 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<p>生日: {{ $user->birthday_at }},
|
||||
{{-- 是不是今天 --}}
|
||||
@if ($user->birthday_at->isToday())
|
||||
<span class="text-danger">今天就是。</span>
|
||||
@else
|
||||
{{-- 距离下次生日的时间 --}}
|
||||
@if ($user->birthday_at->isFuture())
|
||||
还有 {{ $user->birthday_at->diffInDays() }} 天 {{ $user->birthday_at->diffInHours() }} 小时
|
||||
@else
|
||||
已经过去 {{ $user->birthday_at->diffInDays() }} 天 {{ $user->birthday_at->diffInHours() }} 小时
|
||||
@endif
|
||||
。
|
||||
@endif
|
||||
</p>
|
||||
<p>生日: {{ $user->birthday_at }}</p>
|
||||
|
||||
|
||||
{{-- hosts --}}
|
||||
|
Loading…
Reference in New Issue
Block a user