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
460a5a02
"resources/vscode:/vscode.git/clone" did not exist on "666ab4932b331e1e61c10c1c6a53681bad0d3f2c"
Commit
460a5a02
authored
Jun 25, 2020
by
carlos
Browse files
botoes voltar em submeter/visualizar/editar projeto
parent
64695976
Changes
4
Show whitespace changes
Inline
Side-by-side
resources/views/evento/submeterTrabalho.blade.php
View file @
460a5a02
...
...
@@ -414,7 +414,11 @@
</
button
>
</
div
>
</
div
>
<
a
href
=
"
{
{route('evento.visualizar',['id'=>$edital->id])}
}
"
class
=
"btn btn-secondary"
style
=
"width:100%"
>
Cancelar
</
a
>
@
if
(
Auth
()
->
user
()
->
administradors
!=
null
)
<
a
href
=
"{{ route('admin.editais') }}"
class
=
"btn btn-secondary"
style
=
"width:100%"
>
Cancelar
</
a
>
@
else
<
a
href
=
"{{ route('projetos.edital', ['id' =>
$edital->id
]) }}"
class
=
"btn btn-secondary"
style
=
"width:100%"
>
Cancelar
</
a
>
@
endif
</
form
>
</
div
>
</
div
>
...
...
resources/views/projeto/editar.blade.php
View file @
460a5a02
...
...
@@ -393,7 +393,11 @@
</
p
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-6"
>
<
a
href
=
"
{
{route('evento.visualizar',['id'=>$edital->id])}
}
"
class
=
"btn btn-secondary"
style
=
"width:100%"
>
Cancelar
</
a
>
@
if
(
Auth
()
->
user
()
->
administradors
!=
null
)
<
a
href
=
"{{ route('admin.editais') }}"
class
=
"btn btn-secondary"
style
=
"width:100%"
>
Cancelar
</
a
>
@
else
<
a
href
=
"{{ route('projetos.edital', ['id' =>
$edital->id
]) }}"
class
=
"btn btn-secondary"
style
=
"width:100%"
>
Cancelar
</
a
>
@
endif
</
div
>
<
div
class
=
"col-md-6"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
style
=
"width:100%"
>
...
...
resources/views/projeto/index.blade.php
View file @
460a5a02
...
...
@@ -21,16 +21,16 @@
@
endif
<
div
class
=
"container"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-
10
"
>
<
div
class
=
"col-sm-
9
"
>
<
h3
>
Projetos
do
edital
{{
$edital
->
nome
}}
</
h3
>
<
h6
style
=
"color: rgb(4, 78, 4);"
>
Submissão
irá
até
o
dia
{{
date
(
'd-m-Y'
,
strtotime
(
$edital
->
fimSubmissao
))
}}
</
h6
>
</
div
>
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<!--
Se
usuário
não
é
proponente
,
redirecionar
para
view
de
cadastro
-->
@
if
(
Auth
::
user
()
->
proponentes
==
null
)
<
a
href
=
"{{ route('proponente.create' )}}"
class
=
"btn btn-primary"
>
Criar
projeto
</
a
>
<
a
href
=
"{{ route('proponente.create' )}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
@
else
<
a
href
=
"{{ route('trabalho.index', ['id' =>
$edital->id
] )}}"
class
=
"btn btn-primary"
>
Criar
projeto
</
a
>
<
a
href
=
"{{ route('trabalho.index', ['id' =>
$edital->id
] )}}"
class
=
"btn btn-primary"
style
=
"position:relative; float: right;"
>
Criar
projeto
</
a
>
@
endif
</
div
>
</
div
>
...
...
resources/views/projeto/visualizar.blade.php
View file @
460a5a02
...
...
@@ -193,6 +193,11 @@
</p>
<div class="
row
justify
-
content
-
center
">
<div class="
col
-
md
-
12
">
@if (Auth()->user()->administradors != null)
<a href="
{{
route
(
'admin.editais'
)
}}
" class="
btn
btn
-
secondary
" style="
width
:
100
%
">Voltar</a>
@else
<a href="
{{
route
(
'projetos.edital'
,
[
'id'
=>
$edital
->
id
])
}}
" class="
btn
btn
-
secondary
" style="
width
:
100
%
">Voltar</a>
@endif
<a href="
{{
route
(
'participante.edital'
,[
'id'
=>
$edital
->
id
])}}
" class="
btn
btn
-
secondary
" style="
width
:
100
%
">Voltar</a>
</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