2024-05-25 13:59:27 +00:00
|
|
|
<div class="bookmark">
|
2024-05-26 12:02:44 +00:00
|
|
|
<p class="bookmark-title">
|
|
|
|
{{ $bookmark->title }}
|
2024-05-29 22:11:35 +00:00
|
|
|
@if ($showPermalink)
|
2024-05-26 13:41:28 +00:00
|
|
|
<a href="{{ action('BookmarkController@show', $bookmark) }}">#</a>
|
2024-05-29 22:11:35 +00:00
|
|
|
@endif
|
|
|
|
@if ($showEdit)
|
2024-05-26 13:41:28 +00:00
|
|
|
<a href="{{ action('BookmarkController@edit', $bookmark) }}">e</a>
|
2024-05-29 22:11:35 +00:00
|
|
|
@endif
|
2024-05-26 12:02:44 +00:00
|
|
|
</p>
|
2024-05-25 13:59:27 +00:00
|
|
|
<p class="bookmark-href"><a href="{{ $bookmark->href }}">{{ $bookmark->href }}</a></p>
|
|
|
|
@if (!empty($bookmark->description))
|
|
|
|
<div class="bookmark-description">
|
|
|
|
<p>{{ strip_tags($bookmark->description) }}</p>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
<p class="bookmark-date">
|
|
|
|
<time datetime="{{ $bookmark->created_at }}">{{ $bookmark->created_at->diffForHumans() }}</time>
|
|
|
|
</p>
|
|
|
|
<ul class="bookmark-tags">
|
|
|
|
@foreach ($bookmark->tags as $tag)
|
|
|
|
<li class="bookmark-tag">
|
2024-05-29 21:26:05 +00:00
|
|
|
<a href="{{ action('TagController@show', $tag) }}">{{ $tag->name }}</a>
|
2024-05-25 13:59:27 +00:00
|
|
|
</li>
|
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
</div>
|