Unverified Commit 8ffb44b9 authored by José Rômulo's avatar José Rômulo Committed by GitHub
Browse files

Merge pull request #171 from J-Romulo/master

Correção tela minhas propostas
parents cc855494 131d87b4
...@@ -107,22 +107,28 @@ ...@@ -107,22 +107,28 @@
Editar Editar
</a> </a>
<hr class="dropdown-hr"> <hr class="dropdown-hr">
@elseif($projeto->evento->fimSubmissao <= $hoje) {{--
<a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center;">Substituir participante</a> @elseif($projeto->evento->fimSubmissao <= $hoje)
@endif <a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center;">
Substituir participante
</a>
@endif
--}}
@endif
<a href="{{ route('trabalho.show', ['id' => $projeto->id]) }}" class="dropdown-item" style="text-align: center"> <a href="{{ route('trabalho.show', ['id' => $projeto->id]) }}" class="dropdown-item" style="text-align: center">
Visualizar Visualizar
</a> </a>
<hr class="dropdown-hr"> <hr class="dropdown-hr">
{{-- <a href="" class="dropdown-item" style="text-align: center"> {{-- <a href="" class="dropdown-item" style="text-align: center">
Recorrer Recorrer
</a> --}} </a>
@if($projeto->evento->resultado_preliminar <= $hoje) @if($projeto->evento->resultado_preliminar <= $hoje)
<a href="" class="dropdown-item" style="text-align: center" data-toggle="modal" data-target="#modalResult{{$projeto->id}}"> <a href="" class="dropdown-item" style="text-align: center" data-toggle="modal" data-target="#modalResult{{$projeto->id}}">
Resultado Resultado
</a> </a>
@endif @endif
--}}
<!-- Button trigger modal --> <!-- Button trigger modal -->
<button type="button" class="dropdown-item dropdown-item-delete" data-toggle="modal" data-target="#modal{{$projeto->id}}" style="text-align: center"> <button type="button" class="dropdown-item dropdown-item-delete" data-toggle="modal" data-target="#modal{{$projeto->id}}" style="text-align: center">
...@@ -210,13 +216,15 @@ ...@@ -210,13 +216,15 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
@if($projeto->avaliadors->count() > 0)
@if($projeto->avaliadors->first()->pivot->recomendacao == 'RECOMENDADO') @if($projeto->avaliadors->first()->pivot->recomendacao == 'RECOMENDADO')
<input type="text" class="form-control" value="APROVADO" disabled style="color:rgb(6, 85, 6)"> <input type="text" class="form-control" value="RECOMENDADO" disabled style="color:rgb(6, 85, 6)">
@elseif($projeto->avaliadors->first()->pivot->recomendacao == 'NAO-RECOMENDADO') @elseif($projeto->avaliadors->first()->pivot->recomendacao == 'NAO-RECOMENDADO')
<input type="text" class="form-control" value="REPROVADO" disabled style="color: darkred"> <input type="text" class="form-control" value="NAO-RECOMENDADO" disabled style="color: darkred">
@else @else
<input type="text" class="form-control" value="" disabled> <input type="text" class="form-control" value="" disabled>
@endif @endif
@endif
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment