@extends('user::layouts.masterlist') @section('content') Conversations Dashboard Conversations @include('layouts.flash.alert') {{ Form::open(['route' => ['conversations.send'], 'method' => 'post', 'class' => 'conversation-form']) }} @if(isset($conversations)) @if($conversations->isNotEmpty()) @foreach($conversations as $conversation) {{ $conversation->sender->full_name }} {{ $conversation->created_at->diffForHumans() }} @if(\Storage::disk('public')->has($conversation->sender->avatar)) @else @endif {{ $conversation->message }} @endforeach @else Type somthing to start conversation. @endif @else Please select any user to start conversation. @endif Search @include('chatmanager::contacts') @isset($conversations) @endisset {{ Form::close() }} @stop @push('scripts') @endpush
Type somthing to start conversation.
Please select any user to start conversation.