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
26e453aa
"app/Http/Controllers/ProfessorController.php" did not exist on "a95e9172f19cecc17094eadcb39fe1c14765fcc9"
Commit
26e453aa
authored
Nov 08, 2022
by
Lucas Henrique
Browse files
Adicionando campo Conflitos de Interesse ao visualizar um projeto
parent
e40279f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/projeto/formularioVisualizar/proponente.blade.php
View file @
26e453aa
...
...
@@ -49,6 +49,17 @@
</span>
@enderror
</div>
@if ($projeto->conflitosInteresse != null
&&
(Auth::user()->tipo == 'administrador' ||
Auth::user()->tipo == 'administradorResponsavel' ||
Auth::user()->tipo == 'coordenador'))
<div
class=
"form-group col-md-6"
>
<label
for=
"conflitosInteresse"
>
Conflitos de interesse:
</label>
<textarea
class=
"form-control @error('conflitosInteresse') is-invalid @enderror"
name=
"conflitosInteresse"
rows=
"4"
disabled
>
{{ $projeto->conflitosInteresse }}
</textarea>
</div>
@endif
</div>
</div>
...
...
resources/views/projeto/formularioVisualizar/proponente2.blade.php
View file @
26e453aa
...
...
@@ -76,6 +76,18 @@
</div>
@endif
@if ($projeto->conflitosInteresse != null
&&
(Auth::user()->tipo == 'administrador' ||
Auth::user()->tipo == 'administradorResponsavel' ||
Auth::user()->tipo == 'coordenador' ||
Auth::user()->id == $projeto->proponente->user->id))
<div
class=
"col-md-12"
>
<br>
<b
style=
"color: #4D4D4D;"
>
Conflitos de Interesse:
</b>
<a
style=
"color: #4D4D4D;"
>
{{ $projeto->conflitosInteresse }}
</a>
</div>
@endif
</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