Browse Source
feat: add link para materia e comissao na view detail da relatoria (#3682)
Co-authored-by: joao <joao@mezzoplanejamento.com.br>
pull/3685/head
joaohortsenado
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
2 deletions
-
sapl/materia/models.py
-
sapl/templates/materia/layouts.yaml
|
|
@ -690,7 +690,9 @@ class TipoFimRelatoria(models.Model): |
|
|
|
|
|
|
|
|
|
|
|
class Relatoria(models.Model): |
|
|
|
materia = models.ForeignKey(MateriaLegislativa, on_delete=models.CASCADE) |
|
|
|
materia = models.ForeignKey(MateriaLegislativa, |
|
|
|
on_delete=models.CASCADE, |
|
|
|
verbose_name=_('Matéria')) |
|
|
|
parlamentar = models.ForeignKey(Parlamentar, |
|
|
|
on_delete=models.CASCADE, |
|
|
|
verbose_name=_('Parlamentar')) |
|
|
|
|
|
@ -86,7 +86,8 @@ Orgao: |
|
|
|
|
|
|
|
Relatoria: |
|
|
|
{% trans 'Relatoria' %}: |
|
|
|
- comissao |
|
|
|
- comissao|fk_urlize_for_detail |
|
|
|
- materia|fk_urlize_for_detail |
|
|
|
- data_designacao_relator data_destituicao_relator |
|
|
|
- parlamentar tipo_fim_relatoria |
|
|
|
|
|
|
|