mirror of https://github.com/interlegis/sapl.git
12 changed files with 224 additions and 85 deletions
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('compilacao', '0035_auto_20151223_1709'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterModelOptions( |
|||
name='textoarticulado', |
|||
options={'verbose_name': 'Texto Articulado', 'verbose_name_plural': 'Textos Articulados', 'ordering': ['-data', '-numero']}, |
|||
), |
|||
migrations.AddField( |
|||
model_name='textoarticulado', |
|||
name='participacao_social', |
|||
field=models.BooleanField(choices=[(True, 'Sim'), (False, 'Não')], verbose_name='Participação Social', default=False), |
|||
), |
|||
] |
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('compilacao', '0036_auto_20151224_1341'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='textoarticulado', |
|||
name='participacao_social', |
|||
field=models.NullBooleanField(verbose_name='Participação Social', choices=[(True, 'Sim'), (False, 'Não')], default=False), |
|||
), |
|||
] |
@ -0,0 +1,24 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('compilacao', '0037_auto_20151224_1348'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='tipotextoarticulado', |
|||
name='participacao_social', |
|||
field=models.NullBooleanField(default=False, verbose_name='Participação Social', choices=[(True, 'Sim'), (False, 'Não')]), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='textoarticulado', |
|||
name='participacao_social', |
|||
field=models.NullBooleanField(default=None, verbose_name='Participação Social', choices=[(None, 'Padrão definido no Tipo'), (True, 'Sim'), (False, 'Não')]), |
|||
), |
|||
] |
@ -0,0 +1,20 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n %} |
|||
|
|||
{% block base_content %} |
|||
<form action="" method="post">{% csrf_token %} |
|||
<div class="callout panel text-center radius clearfix"> |
|||
|
|||
<p> |
|||
{% blocktrans %} |
|||
Confirma exclusão de <br/> "{{ object }}"? |
|||
{% endblocktrans %} |
|||
</p> |
|||
<div class="button-group"> |
|||
<a href="{{ view.detail_url }}" class="button button radius alert">{% trans 'Cancelar' %}</a> |
|||
<input name="submit" value="{% trans 'Confirmar' %}" class="submit button button radius success" type="submit"></li> |
|||
</div> |
|||
|
|||
</div> |
|||
</form> |
|||
{% endblock %} |
Loading…
Reference in new issue