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
900cd536
Commit
900cd536
authored
Jun 28, 2020
by
Gabriel-31415
Browse files
encaminhamento do botao salvar rascunho para a tela de projetos do proponente
parent
fbc5e0d2
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
900cd536
No preview for this file type
resources/views/projeto/index.blade.php
View file @
900cd536
...
@@ -27,10 +27,9 @@
...
@@ -27,10 +27,9 @@
</
div
>
</
div
>
<
div
class
=
"col-sm-3"
>
<
div
class
=
"col-sm-3"
>
<!--
Se
usuário
não
é
proponente
,
redirecionar
para
view
de
cadastro
-->
<!--
Se
usuário
não
é
proponente
,
redirecionar
para
view
de
cadastro
-->
@
if
(
Auth
::
user
()
->
proponentes
==
null
)
@
if
(
Auth
::
user
()
->
proponentes
->
where
(
'user_id'
,
Auth
::
user
()
->
id
)
->
count
()
==
0
)
==
null
)
<
a
href
=
"{{ route('proponente.create' )}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
<
a
href
=
"{{ route('proponente.create' )}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
@
elseif
(
Auth
::
user
()
->
participantes
->
where
(
'user_id'
,
Auth
::
user
()
->
id
)
->
count
()
==
0
)
@
elseif
(
Auth
::
user
()
->
participantes
->
where
(
'user_id'
,
Auth
::
user
()
->
id
)
->
count
()
==
0
)
@
else
<
a
href
=
"{{ route('trabalho.index', ['id' =>
$edital->id
] )}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
<
a
href
=
"{{ route('trabalho.index', ['id' =>
$edital->id
] )}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
@
endif
@
endif
</
div
>
</
div
>
...
...
resources/views/proponente/projetos.blade.php
View file @
900cd536
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"col-sm-12"
>
<
h3
>
Projetos
submetidos
</
h3
>
<
h3
>
Meus
Projetos
</
h3
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</
thead
>
</
thead
>
<
tbody
>
<
tbody
>
@
foreach
(
$projetos
as
$projeto
)
@
foreach
(
$projetos
as
$projeto
)
@
if
(
$projeto
->
status
!=
'Rascunho'
)
<
tr
>
<
tr
>
<
td
>
<
td
>
{{
$projeto
->
titulo
}}
{{
$projeto
->
titulo
}}
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</
div
>
</
div
>
</
td
>
</
td
>
</
tr
>
</
tr
>
@
endif
<!--
Modal
-->
<!--
Modal
-->
<
div
class
=
"modal fade"
id
=
"modal
{
{$projeto->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal fade"
id
=
"modal
{
{$projeto->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog"
>
<
div
class
=
"modal-dialog"
>
...
...
resources/views/proponente/projetosEdital.blade.php
View file @
900cd536
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<
h6
style
=
"color: rgb(4, 78, 4);"
>
Submissão
irá
até
o
dia
{{
date
(
'd-m-Y'
,
strtotime
(
$edital
->
fimSubmissao
))
}}
</
h6
>
<
h6
style
=
"color: rgb(4, 78, 4);"
>
Submissão
irá
até
o
dia
{{
date
(
'd-m-Y'
,
strtotime
(
$edital
->
fimSubmissao
))
}}
</
h6
>
</
div
>
</
div
>
<
div
class
=
"col-sm-3"
>
<
div
class
=
"col-sm-3"
>
<
a
href
=
"{{ route('
proponente.create'
)}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
<
a
href
=
"{{ route('
trabalho.index', ['id' =>
$edital->id
]
)}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
</
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