home でのみ省略表示するようにした

This commit is contained in:
eai04191 2019-02-03 16:47:16 +09:00
parent cffe539832
commit e226f43265

View File

@ -3,7 +3,7 @@
<div class="d-flex flex-row align-items-end"> <div class="d-flex flex-row align-items-end">
<img src="{{ $user->getProfileImageUrl(64) }}" class="rounded mr-2"> <img src="{{ $user->getProfileImageUrl(64) }}" class="rounded mr-2">
<div class="d-flex flex-column overflow-hidden"> <div class="d-flex flex-column overflow-hidden">
<h4 class="card-title text-truncate"> <h4 class="card-title @if (Route::currentRouteName() === 'home') text-truncate @endif">
<a class="text-dark" href="{{ route('user.profile', ['name' => $user->name]) }}">{{ $user->display_name }}</a> <a class="text-dark" href="{{ route('user.profile', ['name' => $user->name]) }}">{{ $user->display_name }}</a>
</h4> </h4>
<h6 class="card-subtitle"> <h6 class="card-subtitle">