add table count to user list, padding to help bubble, better date formatting and tooltip

This commit is contained in:
2018-07-29 13:31:05 +02:00
parent 550cf30654
commit ffc5a42252
9 changed files with 52 additions and 16 deletions
+12 -2
View File
@@ -35,7 +35,7 @@
</div>
@endif
<table>
<table class="bio-table">
<tbody>
@if($user->website)
<tr>
@@ -49,9 +49,19 @@
<td>{{ $user->handle }}</td>
</tr>
<tr>
<td class="text-center pr-2">@icon(fa-table, Tables:)</td>
<td>{{ $tables_count }} table{{$tables_count!=1?'s':''}}</td>
</tr>
<tr>
<td class="text-center pr-2">@icon(fa-calendar, Join date:)</td>
<td>Joined {{ $user->created_at->diffForHumans() }}</td>
<td>
<span class="pr-1" data-toggle="tooltip" data-placement="right"
title="{{ $user->created_at->format('M n, Y \\a\\t G:i') }}">
Joined {{ $user->created_at->diffForHumans() }}
</span>
</td>
</tr>
</tbody>
</table>