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
ef9b3e63
Commit
ef9b3e63
authored
2 years ago
by
Lucas Henrique
Browse files
Options
Download
Email Patches
Plain Diff
Adicionando campo Conflitos de Interesse ao visualizar um projeto
parent
cd8858c1
master
carl-branch
excluir_projeto_submetido
updates_mar
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
resources/views/projeto/formularioVisualizar/proponente.blade.php
+11
-0
...s/views/projeto/formularioVisualizar/proponente.blade.php
resources/views/projeto/formularioVisualizar/proponente2.blade.php
+12
-0
.../views/projeto/formularioVisualizar/proponente2.blade.php
with
23 additions
and
0 deletions
+23
-0
resources/views/projeto/formularioVisualizar/proponente.blade.php
View file @
ef9b3e63
...
...
@@ -50,6 +50,17 @@
@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>
</div>
...
...
This diff is collapsed.
Click to expand it.
resources/views/projeto/formularioVisualizar/proponente2.blade.php
View file @
ef9b3e63
...
...
@@ -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>
...
...
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