FIX: fix comments overview
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
<div class="card-header">
|
||||
<div class="header-block">
|
||||
<p class="title">
|
||||
<img src="@gravatar($comment->author->email, 25)" class="img-rounded" alt="">
|
||||
{{$comment->author->name}} ({{$comment->author->email}})
|
||||
<img src="@gravatar($comment->email, 25)" class="img-rounded" alt="">
|
||||
{{$comment->name}} ({{$comment->email}})
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -21,12 +21,12 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
@lang('article::comments.createdAt', ['date' => \App\CMS\Helpers\Template::date($comment->created_at)])
|
||||
@lang('article::comments.createdAt', ['date' => \App\CMS\Helpers\Date::date($comment->created_at)])
|
||||
|
|
||||
|
||||
@lang('article::comments.commentedArticle'):
|
||||
|
||||
@if($comment->article)
|
||||
@if(!is_null($comment->article))
|
||||
<a href="{{route('page.content', ['url' => $comment->article->url])}}" target="_blank">
|
||||
{{$comment->article->title}}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user