better handle urls
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user