Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
7816f368
Commit
7816f368
authored
Jul 30, 2021
by
José Rômulo
Browse files
Adicionando visualizar os avalidores por projeto
parent
19dd362b
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/analisar.blade.php
View file @
7816f368
...
...
@@ -223,7 +223,45 @@
</div>
</div>
</div>
<hr>
<h4>Avaliadores</h4>
<table class="
table
table
-
bordered
" style="
margin
-
top
:
20
px
">
<thead>
<tr>
<th scope="
col
">Nome</th>
<th scope="
col
">E-mail</th>
<th scope="
col
">Status avaliação</th>
<th scope="
col
" style="
text
-
align
:
center
">Ação</th>
</tr>
</thead>
<tbody>
@foreach(
$trabalho->avaliadors
as
$avaliador
)
<tr>
<td>
{
{$avaliador->user->name}
}
</td>
<td>
{
{$avaliador->user->email}
}
</td>
<td>@if(
$avaliador->pivot
->parecer == null) Pendente @else Avaliado @endif</td>
<td>
<div class="
btn
-
group
dropright
dropdown
-
options
">
<a id="
options
" class="
dropdown
-
toggle
" data-toggle="
dropdown
" aria-haspopup="
true
" aria-expanded="
false
">
<img src="
{{
asset
(
'img/icons/ellipsis-v-solid.svg'
)}}
" style="
width
:
8
px
">
</a>
<div class="
dropdown
-
menu
">
@if(
$avaliador->pivot
->parecer != null)
<a href="
{{
route
(
'admin.visualizarParecer'
,
[
'trabalho_id'
=>
$trabalho
->
id
,
'avaliador_id'
=>
$avaliador
->
id
])
}}
" class="
dropdown
-
item
text
-
center
">
Vizualizar Parecer
</a>
@else
<a href="
{{
route
(
'admin.removerProjAval'
,
[
'trabalho_id'
=>
$trabalho
->
id
,
'avaliador_id'
=>
$avaliador
->
id
])
}}
" class="
dropdown
-
item
text
-
center
">
Desatribuir Avaliador
</a>
@endif
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</p>
</div>
{{-- </div> --}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment