<div class="post-header clearfix">
    <div class="header-object">
        <a   href="{{$post->page->present()->url()}}"><img src="{{$post->page->present()->getAvatar(100)}}"/></a>
    </div>
    <div class="header-body">
        <h3 class="title">
            <a  data-ajaxify="true" href="{{$post->page->present()->url()}}">{{$post->page->title}}</a>

            {{Theme::section('page.verified', ['page' => $post->page])}}


        </h3>
                <span class="post-time">
                     <i class="icon ion-ios7-time-outline"></i> <span title="{{$post->present()->time()}}">{{$post->created_at}}</span>
                       <span class="post-is-edited-{{$post->id}}">
                            @if($post->edited)
                            {{trans('post.edited')}}
                            @endif
                        </span>
                </span>

        {{Theme::extend('post-header', ['post' => $post])}}

        <div class="post-action-dropdown dropdown">
            <a  data-hover="dropdown" data-toggle="dropdown" class="dropdown-toggle" href=""><i class="icon ion-ios7-arrow-down"></i></a>

            @if (Auth::check())

            <ul class="dropdown-menu pull-right">
                @if (Auth::user()->id != $post->user->id)
                <li><a data-id="{{$post->id}}" href="" class="hide-post">{{trans('post.dont-want-see')}}</a> </li>
                @endif

                <li><a href="{{URL::route('report', ['type' => 'post'])}}?url={{$post->present()->url()}}">{{trans('post.report-post')}}</a> </li>
                <li><a href="{{route('post-page', ['id' => $post->id])}}">{{trans('post.view-post')}}</a> </li>
                @if ($post->present()->canDelete())
                <li><a href="" data-id="{{$post->id}}" class="edit-post-trigger">{{trans('post.edit')}}</a> </li>
                <li><a data-id="{{$post->id}}" class="delete-post" data-message="Do you really want to delete this post" href="">{{trans('post.remove')}}</a> </li>
                @endif

                {{Theme::extend('post-header-links', ['post' => $post])}}

                {{Theme::section('post.social-share', ['post' => $post])}}
            </ul>
            @endif
        </div>
    </div>

</div>