diff --git a/materia/models.py b/materia/models.py index ccb05d59b..cfd2150e9 100644 --- a/materia/models.py +++ b/materia/models.py @@ -3,7 +3,7 @@ from django.utils.translation import ugettext_lazy as _ from comissoes.models import Comissao from parlamentares.models import Parlamentar, Partido -from sapl.utils import YES_NO_CHOICES, make_choices +from sapl.utils import YES_NO_CHOICES, make_choices, xstr class TipoMateriaLegislativa(models.Model): @@ -506,7 +506,7 @@ class UnidadeTramitacao(models.Model): def __str__(self): return _('%(orgao)s - %(comissao)s') % { - 'orgao': self.orgao, 'comissao': self.comissao + 'orgao': xstr(self.orgao), 'comissao': xstr(self.comissao) } diff --git a/templates/materia/relatoria.html b/templates/materia/relatoria.html index d7cc533ab..8e26bb8f8 100644 --- a/templates/materia/relatoria.html +++ b/templates/materia/relatoria.html @@ -73,7 +73,6 @@ - {% endif %} {% endblock %} \ No newline at end of file