@extends('layouts.app') @section('title', __('Historial')) @section('content')

Historial

@if($isAdmin) @endif @foreach($histories as $history)
@include('includes.descargarModal', ['history' => $history])
{!! $history->log_content !!}
@if($history->type == 2) @else @endif @if($history->pathZip != "" && strpos($history->status, 'ERROR') === false) @else @if(strpos($history->status, 'ERROR') === false) @else @endif @endif @if($isAdmin) @endif @endforeach
ID Tipo Fecha Fichero Plantilla Preview DescargarLog
{{$history->id}}Preguntas Virtualización @if ($history->tipodevirtualizacion == 1) HTML @elseif ($history->tipodevirtualizacion == 2) SCORM @endif {{$history->created_at}} {{ Str::limit(str_replace('_', ' ', $history->name), 30) }} {{$history->templateName}} @if($history->pathZip != "" && $history->type != 2) @if(file_exists($history->pathZip) && $history->tipodevirtualizacion == '1') PREVIEW @endif @endif @if(file_exists($history->pathZip)) Descargar @else Caducado @endif {{$history->status}} Reintentar LOG
@endsection