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
+9 -5
View File
@@ -82,12 +82,16 @@
{{-- Description field --}}
<div class="col-md-8 pl-md-0">
<b>Description</b>
@if($table->description)
<b>Description</b>
{!! Widget::collapsible($table->description, 400, '8em') !!}
@if($table->origin)
<div class="mt-2"></div>{{-- spacer --}}
@endif
@else
<p>
<i>No description.</i>
</p>
@endif
@if($table->origin)
@@ -119,8 +123,8 @@
<tr>
<th class="text-right pr-2">Created</th>
<td>
<span data-toggle="tooltip" data-placement="right" title="{{ $table->created_at->format("G:i:s") }}">
{{ $table->created_at->format("M j, Y") }}
<span class="pr-1" data-toggle="tooltip" data-placement="right" title="{{ $table->created_at->format("M n, Y \\a\\t G:i") }}">
{{ $table->created_at->diffForHumans() }}
</span>
</td>
</tr>
@@ -128,8 +132,8 @@
<tr>
<th class="text-right pr-2">Updated</th>
<td>
<span data-toggle="tooltip" data-placement="right" title="{{ $table->updated_at->format("G:i:s") }}">
{{ $table->updated_at->format("M j, Y") }}
<span class="pr-1" data-toggle="tooltip" data-placement="right" title="{{ $table->updated_at->format("M n, Y \\a\\t G:i") }}">
{{ $table->updated_at->diffForHumans() }}
</span>
</td>
</tr>