@extends('layouts.default') @section('styles') @stop @section('scripts') @stop @section('panel-heading') Security Alerts @stop @section('panel-presentation') @stop @section('content')
@foreach($alerts as $alert)
{{ $alert->title }} {{ $alert->created_at->format("D, M d, g:i A") }}
{{ SecurityAlertLevel::getName($alert->alert_level) }}
{{ SecurityAlertType::getName($alert->alert_type) }}
@if (Auth::user() && ($alert->user_id == Auth::user()->user_id || (Auth::user()->user_role & (UserRole::Adiministrator | UserRole::SuperAdmin))))
@endif
{!! $alert->content !!}
@endforeach
@stop