@extends('socialite::layouts.admin') @section('content')

{{ trans('socialite::common.manage_pages') }}

{{ Form::label('sort by', 'Sort by:') }} {!! Form::select(' manage_users', array('name_asc' => trans('socialite::admin.name_asc'), 'name_desc' => trans('socialite::admin.name_desc'), 'likes_asc' => trans('socialite::common.likes_asc'), 'likes_desc' => trans('socialite::common.likes_desc')), Request::get('sort'), ['class' => 'form-control pagesort']) !!}
@include('flash::message') @if(count($timelines) > 0)
@foreach($timelines as $timeline) @if($timeline->page) @endif @endforeach
  {{ trans('socialite::admin.id') }} {{ trans('socialite::auth.name') }} {{ trans('socialite::common.likes') }} {{ trans('socialite::admin.options') }}  
  {{ $timeline->page->id }} {{ $timeline->name }} {{ $timeline->name }} {{ $timeline->page->likes->count() }}
 
{{ $timelines->render() }}
@else
{{ trans('socialite::messages.no_pages') }}
@endif
@endsection