@extends('layouts.master')
@section('content')
IT Status Alerts
{{$type}}
@if(count($alerts)) Go to Page: @endif
@for($i = 1; $i <= $total; $i += NUM_RESULTS)
@if($i == $start_num)
{{1 + intval($i/NUM_RESULTS)}}
@else
{{1 + intval($i/NUM_RESULTS)}}
@endif
@endfor
@if(!$total)
@elseif(Request::is('filter') || $total <= NUM_RESULTS)
{{$total}} results found, displaying all results.
@else
{{$total}} results found, displaying results
{{$start_num}} - {{$start_num + NUM_RESULTS < $total ? $start_num + NUM_RESULTS : $total}}.
@endif
@foreach($alerts as $alert)
@endforeach
@if(count($alerts)) Go to Page: @endif
@for($i = 1; $i <= $total; $i += NUM_RESULTS)
@if($i == $start_num)
{{1 + intval($i/NUM_RESULTS)}}
@else
{{1 + intval($i/NUM_RESULTS)}}
@endif
@endfor
@endsection