Skip to content

Commit

Permalink
feat: Torna o campo Data Nascimento de Parlamentares sensivel (#3648)
Browse files Browse the repository at this point in the history
Co-authored-by: joao <[email protected]>
  • Loading branch information
joaohortsenado and joao authored Jun 25, 2023
1 parent 55c0363 commit 9f56143
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion sapl/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ParlamentarSerializerPublic(SaplSerializerMixin):

class Meta:
model = Parlamentar
exclude = ["cpf", "rg", "fax",
exclude = ["cpf", "rg", "fax", "data_nascimento",
"endereco_residencia", "municipio_residencia",
"uf_residencia", "cep_residencia", "situacao_militar",
"telefone_residencia", "titulo_eleitor", "fax_residencia"]
Expand Down
6 changes: 0 additions & 6 deletions sapl/templates/parlamentares/parlamentar_perfil_publico.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@
</div>
</div>

<div class="col-sm-8">
<div id="div_data_nascimento" class="form-group">
<p><b>Data de Nascimento: </b> &nbsp {{object.data_nascimento|default_if_none:"Não informado"}}</p>
</div>
</div>

<div class="col-sm-8">
<div id="div_data_nascimento" class="form-group">
<p><b>Telefone: </b> &nbsp {{object.telefone|default_if_none:"Não informado"}}</p>
Expand Down

0 comments on commit 9f56143

Please sign in to comment.