better handle urls

This commit is contained in:
2018-07-28 16:45:03 +02:00
parent f879d195df
commit 3a8d54a569
7 changed files with 59 additions and 21 deletions
+5 -8
View File
@@ -22,16 +22,14 @@
<div class="row mx-auto col-md-12 justify-content-center mb-1 border rounded px-0 py-2 box-shadow mb-3">
<div class="col-md-6">
@if($table->description)
<p class="last-p-mb-0">
<b>Description</b><br>
{!! Widget::collapsible($table->description, 400, '8em') !!}
</p>
<b>Description</b>
{!! Widget::collapsible($table->description, 400, '8em') !!}
@endif
@if($table->origin)
<p class="last-p-mb-0">
<b>Source</b><br>
{{ $table->origin }}
{!! Widget::tryLink($table->origin) !!}
</p>
@endif
</div>
@@ -42,9 +40,8 @@
<tr>
<th class="text-right pr-2">Author</th>
<td>
<a href="{{route('profile.view', $table->owner->name)}}">
{{ $table->owner->handle }}
</a>
{{ $table->owner->title }}
(<a href="{{route('profile.view', $table->owner->name)}}">{{ $table->owner->handle }}</a>)
</td>
</tr>