diff --git a/sapl/materia/models.py b/sapl/materia/models.py index 14b62196b..4c4109354 100644 --- a/sapl/materia/models.py +++ b/sapl/materia/models.py @@ -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')) diff --git a/sapl/templates/materia/layouts.yaml b/sapl/templates/materia/layouts.yaml index f92535df5..202772737 100644 --- a/sapl/templates/materia/layouts.yaml +++ b/sapl/templates/materia/layouts.yaml @@ -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