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
7092f348
Commit
7092f348
authored
Feb 13, 2022
by
Guilherme Silva
Browse files
Adicionada restrição de substituição apenas para propostas aprovadas
parent
8f5d9d89
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/proponente/projetos.blade.php
View file @
7092f348
...
...
@@ -82,7 +82,11 @@
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Submetido
</
td
>
@
elseif
(
$projeto
->
status
==
'rascunho'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Rascunho
</
td
>
@
endif
@
elseif
(
$projeto
->
status
==
'aprovado'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Aprovado
</
td
>
@
elseif
(
$projeto
->
status
==
'negado'
)
<
td
style
=
"color: rgb(0, 0, 0); text-align: center"
>
Negado
</
td
>
@
endif
<
td
>
<
div
class
=
"dropright dropdown-options"
style
=
"width: 100%; text-align:center; float:none"
>
<
a
id
=
"options"
class
=
"dropdown-toggle btn btn-light"
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
...
...
@@ -94,9 +98,9 @@
Editar
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
elseif
(
$projeto
->
evento
->
resultado_final
<=
$hoje
)
@
elseif
(
$projeto
->
evento
->
resultado_final
<=
$hoje
||
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
S
ubstituir
participante
</
a
>
S
olicitar
Substituição
</
a
>
@
endif
<
a
href
=
"{{ route('trabalho.show', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Visualizar
...
...
resources/views/proponente/projetosEdital.blade.php
View file @
7092f348
...
...
@@ -106,7 +106,8 @@
Editar
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
elseif
(
$projeto
->
evento
->
resultado_final
<=
$hoje
)
@
endif
@
if
(
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Solicitar
Substituições
</
a
>
...
...
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