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
c98dde53
Commit
c98dde53
authored
2 years ago
by
Lucas Henrique
Browse files
Options
Download
Email Patches
Plain Diff
Resolve bugs ao exibir tipo de avaliação na edição de um evento
parent
f7f638c4
master
carl-branch
excluir_projeto_submetido
updates_mar
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/views/evento/editarEvento.blade.php
+11
-6
resources/views/evento/editarEvento.blade.php
with
11 additions
and
6 deletions
+11
-6
resources/views/evento/editarEvento.blade.php
View file @
c98dde53
...
@@ -434,9 +434,15 @@
...
@@ -434,9 +434,15 @@
<
div
class
=
"col-sm-6"
>
<
div
class
=
"col-sm-6"
>
<
div
class
=
"form-group"
>
<
div
class
=
"form-group"
>
<
label
for
=
"pdfEdital"
>
Formulário
para
avaliador
<
i
>
ad
hoc
</
i
>:<
span
style
=
"color: red; font-weight: bold;"
>*</
span
></
label
>
<
label
for
=
"pdfEdital"
>
Formulário
para
avaliador
<
i
>
ad
hoc
</
i
>:<
span
style
=
"color: red; font-weight: bold;"
>*</
span
></
label
>
<
a
href
=
"{{route('download', ['file' =>
$evento->formAvaliacaoExterno
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
@
if
(
$evento
->
tipoAvaliacao
==
"form"
)
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
<
a
href
=
"{{route('download', ['file' =>
$evento->formAvaliacaoExterno
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
</
a
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
@
else
<
a
>
<
i
class
=
"fas fa-times-circle fa-2x"
style
=
"color:red; font-size:25px"
></
i
>
</
a
>
@
endif
<
input
type
=
"file"
accept
=
".pdf,.doc,.docx,.xlsx,.xls,.csv,.zip"
class
=
"form-control-file @error('pdfFormAvalExterno') is-invalid @enderror"
name
=
"pdfFormAvalExterno"
value
=
"{{ old('pdfFormAvalExterno') }}"
id
=
"pdfFormAvalExterno"
>
<
input
type
=
"file"
accept
=
".pdf,.doc,.docx,.xlsx,.xls,.csv,.zip"
class
=
"form-control-file @error('pdfFormAvalExterno') is-invalid @enderror"
name
=
"pdfFormAvalExterno"
value
=
"{{ old('pdfFormAvalExterno') }}"
id
=
"pdfFormAvalExterno"
>
<
small
>
O
arquivo
selecionado
deve
ter
até
2
mb
.
</
small
>
<
small
>
O
arquivo
selecionado
deve
ter
até
2
mb
.
</
small
>
@
error
(
'pdfFormAvalExterno'
)
@
error
(
'pdfFormAvalExterno'
)
...
@@ -479,8 +485,7 @@
...
@@ -479,8 +485,7 @@
<
th
>
Prioridade
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
th
>
<
th
>
Prioridade
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
th
>
<
th
>
Ação
</
th
>
<
th
>
Ação
</
th
>
</
tr
>
</
tr
>
@
if
(
isset
(
$camposAvaliacao
))
@
if
(
$camposAvaliacao
->
count
()
!=
0
)
@
foreach
(
$camposAvaliacao
as
$campoAvaliacao
)
@
foreach
(
$camposAvaliacao
as
$campoAvaliacao
)
@
if
(
$numCampos
==
0
)
@
if
(
$numCampos
==
0
)
...
@@ -616,7 +621,7 @@
...
@@ -616,7 +621,7 @@
<
div
class
=
"col-sm-12 row"
style
=
"margin-top:10px; display: none"
id
=
"displayLink"
>
<
div
class
=
"col-sm-12 row"
style
=
"margin-top:10px; display: none"
id
=
"displayLink"
>
<
label
for
=
"link"
class
=
"col-form-label"
>
{{
__
(
'Link para o formulário:'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
<
label
for
=
"link"
class
=
"col-form-label"
>
{{
__
(
'Link para o formulário:'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
<
input
id
=
"link"
type
=
"text"
class
=
"form-control @error("
link
") is-invalid @enderror"
name
=
"link"
value
=
"{{ old('link') }}"
>
<
input
id
=
"link"
type
=
"text"
class
=
"form-control @error("
link
") is-invalid @enderror"
name
=
"link"
value
=
"{{
(
$evento->tipoAvaliacao
== "
link
") ?
$evento->formAvaliacaoExterno
:
old('link') }}"
>
@
error
(
'link'
)
@
error
(
'link'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
<
strong
>
{{
$message
}}
</
strong
>
...
...
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