@extends('layouts.app') @section('content')
@if(isset($evento->fotoEvento)) @else @endif
@if(!Auth::check()) @endif

{{$evento->nome}}

Descrição

{{$evento->descricao}}

Submissão de Projetos

{{date('d/m/Y',strtotime($evento->inicioSubmissao))}} - {{date('d/m/Y',strtotime($evento->fimSubmissao))}}

Revisão de Projetos

{{date('d/m/Y',strtotime($evento->inicioRevisao))}} - {{date('d/m/Y',strtotime($evento->fimRevisao))}}

--}}

Data do resultado

{{date('d/m/Y',strtotime($evento->resultado))}}

@if($hasFile == true)

Meus Projetos

@if($hasTrabalho)

Como Proponente

@foreach($trabalhos as $trabalho) @endforeach
Título Baixar Nova Versão
{{$trabalho->titulo}} @php $arquivo = ""; @endphp @foreach($trabalho->arquivo as $key) @php if($key->versaoFinal == true){ $arquivo = $key->nome; } @endphp @endforeach @if($evento->inicioSubmissao <= $mytime) @if($mytime < $evento->fimSubmissao) @endif @endif
@endif {{-- @if($hasTrabalhoCoautor)

Como Coautor

@foreach($trabalhosCoautor as $trabalho) @endforeach
Título Baixar
{{$trabalho->titulo}} @php $arquivo = ""; @endphp @foreach($trabalho->arquivo as $key) @php if($key->versaoFinal == true){ $arquivo = $key->nome; } @endphp @endforeach
@endif --}} @endif
@if($evento->inicioSubmissao <= $mytime) @if($mytime < $evento->fimSubmissao) @endif @endif
@endsection @section('javascript') @endsection