From 26b1c1e2b71420fd2601412a42fb8b60798b12c4 Mon Sep 17 00:00:00 2001 From: Guilherme Silva <guilherme.dna06@gmail.com> Date: Wed, 1 Jun 2022 12:25:04 -0300 Subject: [PATCH] =?UTF-8?q?Ajuste=20de=20op=C3=A7=C3=B5es=20da=20tela=20de?= =?UTF-8?q?=20listagem=20de=20propostas=20do=20proponente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/proponente/projetos.blade.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/resources/views/proponente/projetos.blade.php b/resources/views/proponente/projetos.blade.php index 5759928..46dc6c0 100755 --- a/resources/views/proponente/projetos.blade.php +++ b/resources/views/proponente/projetos.blade.php @@ -88,24 +88,28 @@ </a> <div class="dropdown-menu"> + @if($projeto->evento->inicioSubmissao <= $hoje && $hoje <= $projeto->evento->fimSubmissao) + <a href="{{ route('trabalho.editar', ['id' => $projeto->id]) }}" class="dropdown-item" style="text-align: center;"> + Editar + </a> + <hr class="dropdown-hr"> + @endif + @if( $projeto->status== 'aprovado') <a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center;"> Solicitar Substituições </a> <hr class="dropdown-hr"> - <a href="{{route('docComplementar.listar', ['projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center"> - Documentos Complementares - </a> - {{--<hr class="dropdown-hr"> - <a href="" class="dropdown-item" style="text-align: center"> Solicitar Certificado </a>--}} - <hr class="dropdown-hr"> - @endif + <a href="{{route('docComplementar.listar', ['projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center"> + Documentos Complementares + </a> + <hr class="dropdown-hr"> <a href="{{ route('trabalho.show', ['id' => $projeto->id]) }}" class="dropdown-item" style="text-align: center"> Visualizar </a> @@ -115,7 +119,6 @@ Relatórios </a> - <hr class="dropdown-hr"> {{-- <a href="" class="dropdown-item" style="text-align: center"> Recorrer </a> -- GitLab