@extends('layouts.admin.app') @section('title') Messenger @stop @section('main') Compose @include('admin.messenger.folder') id From Time Sent/Received @foreach($messages as $message) @if($message->from_id == $auth->id) {{$message->id}} {{$message->user}} {{$message->created_at->diffForHumans()}} @else {{$message->id}} {{$message->user}} {{$message->created_at->diffForHumans()}} @endif @endforeach @stop @section('footer') @stop