Browse Source

fix #2132 (#2139)

pull/2140/head
Edward 6 years ago
committed by GitHub
parent
commit
78edd3dbfa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      sapl/parlamentares/migrations/0024_auto_20180814_1237.py
  2. 2
      sapl/parlamentares/models.py
  3. 2
      sapl/templates/base.html

20
sapl/parlamentares/migrations/0024_auto_20180814_1237.py

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2018-08-14 15:37
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('parlamentares', '0023_auto_20180626_1524'),
]
operations = [
migrations.AlterField(
model_name='mandato',
name='titular',
field=models.BooleanField(choices=[(True, 'Sim'), (False, 'Não')], db_index=True, default=True, verbose_name='Parlamentar Titular'),
),
]

2
sapl/parlamentares/models.py

@ -443,7 +443,7 @@ class Mandato(models.Model):
db_index=True,
default=True,
choices=YES_NO_CHOICES,
verbose_name=_('Vereador Titular'))
verbose_name=_('Parlamentar Titular'))
observacao = models.TextField(
blank=True, verbose_name=_('Observação'))

2
sapl/templates/base.html

@ -203,7 +203,7 @@
<span class="street-address">{{ endereco }}</span>
<br> CEP: <span class="postal-code">{{ cep }}</span> | Telefone: <span>{{ telefone }}</span>
<br>
<a href="{{endereco_web}}" class="url">{% trans 'Site da Câmara' %}</a> |
<a href="{{endereco_web}}" class="url">{% trans 'Site' %}</a> |
<a href="mailto:{{email}}" class="email">{% trans 'Fale Conosco' %}</a>
</small>
</address>

Loading…
Cancel
Save