diff --git a/sapl/parlamentares/migrations/0005_auto_20170814_1615.py b/sapl/parlamentares/migrations/0005_auto_20170814_1615.py new file mode 100644 index 000000000..e71dd1fd8 --- /dev/null +++ b/sapl/parlamentares/migrations/0005_auto_20170814_1615.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.11 on 2017-08-14 16:15 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('parlamentares', '0004_auto_20170711_1305'), + ] + + operations = [ + migrations.AlterModelOptions( + name='frente', + options={'verbose_name': 'Frente Parlamentar', 'verbose_name_plural': 'Frentes Parlamentares'}, + ), + ] diff --git a/sapl/parlamentares/models.py b/sapl/parlamentares/models.py index 5039be89e..34aa8b3e8 100644 --- a/sapl/parlamentares/models.py +++ b/sapl/parlamentares/models.py @@ -554,8 +554,8 @@ class Frente(models.Model): )) class Meta: - verbose_name = _('Frente') - verbose_name_plural = _('Frentes') + verbose_name = _('Frente Parlamentar') + verbose_name_plural = _('Frentes Parlamentares') def get_parlamentares(self): return Parlamentar.objects.filter(ativo=True) diff --git a/sapl/sessao/migrations/0012_auto_20170814_1615.py b/sapl/sessao/migrations/0012_auto_20170814_1615.py new file mode 100644 index 000000000..7060ad9db --- /dev/null +++ b/sapl/sessao/migrations/0012_auto_20170814_1615.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.11 on 2017-08-14 16:15 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('sessao', '0011_auto_20170814_1409'), + ] + + operations = [ + migrations.AlterModelOptions( + name='bancada', + options={'ordering': ('-legislatura__numero',), 'verbose_name': 'Bancada Parlamentar', 'verbose_name_plural': 'Bancadas Parlamentares'}, + ), + migrations.AlterModelOptions( + name='bloco', + options={'verbose_name': 'Bloco Parlamentar', 'verbose_name_plural': 'Blocos Parlamentares'}, + ), + ] diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index d746ac1e8..89e986341 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -59,8 +59,8 @@ class Bancada(models.Model): )) class Meta: - verbose_name = _('Bancada') - verbose_name_plural = _('Bancadas') + verbose_name = _('Bancada Parlamentar') + verbose_name_plural = _('Bancadas Parlamentares') ordering = ('-legislatura__numero', ) def __str__(self): @@ -507,8 +507,8 @@ class Bloco(models.Model): )) class Meta: - verbose_name = _('Bloco') - verbose_name_plural = _('Blocos') + verbose_name = _('Bloco Parlamentar') + verbose_name_plural = _('Blocos Parlamentares') def __str__(self): return self.nome diff --git a/sapl/templates/sistema.html b/sapl/templates/sistema.html index e631d84a8..c8d31c179 100644 --- a/sapl/templates/sistema.html +++ b/sapl/templates/sistema.html @@ -39,12 +39,12 @@
-

Módulo Bancadas

+

Módulo Bancadas Parlamentares

-
Bancadas
-
Cargo de Bancada
-
Frente
-
Bloco
+
Bancadas Parlamentares
+
Cargo de Bancada Parlamentar
+
Frente Parlamentar
+
Bloco Parlamentar