Commit b837ca1f authored by GuilhermeGz's avatar GuilhermeGz
Browse files

Acesso a edição de proposta na análise de proposta apenas para admin

parent fad45c80
......@@ -51,9 +51,11 @@
<div class="col-md-12">
<h5 style="color: #1492E6;">{{$trabalho->titulo}}
@if(Auth::user()->tipo == 'administrador')
<a class="ml-2 mb-5" href="{{ route('trabalho.editar', ['id' => $trabalho->id]) }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#234B8B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"></path><polygon points="18 2 22 6 12 16 8 16 8 12 18 2"></polygon></svg>
</a>
@endif
</h5>
</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