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
0e62cea7
Commit
0e62cea7
authored
Jun 14, 2022
by
GuilhermeGz
Browse files
Adicionada janela de confirmação ao remover avaliador
parent
5dd03291
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/analisarProposta.blade.php
View file @
0e62cea7
...
...
@@ -920,7 +920,8 @@
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
</
h9
>
<
br
>
<
a
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>1]) }}"
>
<
a
onclick
=
"return confirm('Tem certeza que deseja remover o avaliador
{
{$avaliador->user->name}
}
?')"
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>1]) }}"
>
Remover
</
a
>
<
br
>
...
...
@@ -952,7 +953,8 @@
</
h9
>
<
br
>
<
a
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>0]) }}"
>
<
a
onclick
=
"return confirm('Tem certeza que deseja remover o avaliador
{
{$avaliador->user->name}
}
?')"
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>0]) }}"
>
Remover
</
a
>
<
br
>
...
...
resources/views/administrador/selecionarAvaliadores.blade.php
View file @
0e62cea7
...
...
@@ -117,7 +117,9 @@
@
csrf
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
button
type
=
"submit"
class
=
"btn btn-danger"
@
if
(
$avaliador
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
->
count
()
!=
0
)
disabled
=
"disabled"
@
endif
>
Remover
</
button
>
<
button
type
=
"submit"
class
=
"btn btn-danger"
@
if
(
$avaliador
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
->
count
()
!=
0
)
disabled
=
"disabled"
@
endif
onclick
=
"return confirm('Tem certeza que deseja remover o avaliador
{
{$avaliador->user->name}
}
?')"
>
Remover
</
button
>
</
form
>
<
form
action
=
"{{ route('admin.reenviarConvite') }}"
method
=
"POST"
>
@
csrf
...
...
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