Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
3 years ago
by
José Rômulo
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #167 from J-Romulo/master
Correção botao "parecer" em perfil avaliador
parents
3899c871
29dfb44b
master
carl-branch
dependabot/composer/dompdf/dompdf-1.2.2
dependabot/composer/guzzlehttp/guzzle-6.5.8
dependabot/composer/guzzlehttp/psr7-1.8.5
dependabot/composer/symfony/http-kernel-4.4.50
dependabot/npm_and_yarn/axios-0.21.2
dependabot/npm_and_yarn/decode-uri-component-0.2.2
dependabot/npm_and_yarn/express-4.18.2
dependabot/npm_and_yarn/json5-and-json5-2.2.3
dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
dependabot/npm_and_yarn/minimist-and-mkdirp-1.2.8
dependabot/npm_and_yarn/qs-and-express-6.11.0
excluir_projeto_submetido
updates_mar
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
resources/views/administrador/analisar.blade.php
+39
-1
resources/views/administrador/analisar.blade.php
resources/views/avaliador/listarTrabalhos.blade.php
+1
-1
resources/views/avaliador/listarTrabalhos.blade.php
with
40 additions
and
2 deletions
+40
-2
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> --}}
...
...
This diff is collapsed.
Click to expand it.
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
>
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help