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
d8afe55f
Unverified
Commit
d8afe55f
authored
Jul 30, 2021
by
José Rômulo
Committed by
GitHub
Jul 30, 2021
Browse files
Merge pull request #167 from J-Romulo/master
Correção botao "parecer" em perfil avaliador
parents
3899c871
29dfb44b
Changes
2
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/analisar.blade.php
View file @
d8afe55f
...
@@ -223,7 +223,45 @@
...
@@ -223,7 +223,45 @@
</div>
</div>
</div>
</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>
</p>
</div>
</div>
{{-- </div> --}}
{{-- </div> --}}
...
...
resources/views/avaliador/listarTrabalhos.blade.php
View file @
d8afe55f
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<
form
action
=
"{{ route('avaliador.parecer', ['evento' =>
$evento
]) }}"
method
=
"POST"
>
<
form
action
=
"{{ route('avaliador.parecer', ['evento' =>
$evento
]) }}"
method
=
"POST"
>
@
csrf
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
@
if
(
$trabalho
->
pivot
->
p
arecer
==
null
)
@
if
(
$trabalho
->
pivot
->
AnexoP
arecer
==
null
)
<
button
type
=
"submit"
class
=
"btn btn-primary mr-2 ml-2"
>
<
button
type
=
"submit"
class
=
"btn btn-primary mr-2 ml-2"
>
Parecer
Parecer
</
button
>
</
button
>
...
...
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