summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-02-14 23:21:09 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-02-14 23:21:09 +0100
commiteacf8b9111488c9cb4ed39cd42ff93949874e225 (patch)
tree18791bb511ce3c77372a2f75499a34b1ad457ca5
parentd17d8cabe445c271ba298b31367b066e0ae9af0a (diff)
downloadIshtar-eacf8b9111488c9cb4ed39cd42ff93949874e225.tar.bz2
Ishtar-eacf8b9111488c9cb4ed39cd42ff93949874e225.zip
Correct the operation summary (refs #212)
-rw-r--r--ishtar/furnitures/forms.py8
-rw-r--r--ishtar/furnitures/models.py6
2 files changed, 8 insertions, 6 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py
index 447b79694..1f2640e5c 100644
--- a/ishtar/furnitures/forms.py
+++ b/ishtar/furnitures/forms.py
@@ -1362,10 +1362,12 @@ class OperationFormPreventive(forms.Form):
class OperationFormPreventiveDiag(forms.Form):
form_label = _("Preventive informations - diagnostic")
if settings.COUNTRY == 'fr':
- zoning_prescription = forms.NullBooleanField(required=False)
- large_area_prescription = forms.NullBooleanField(required=False)
+ zoning_prescription = forms.NullBooleanField(required=False,
+ label=_(u"Prescription on zoning"))
+ large_area_prescription = forms.NullBooleanField(required=False,
+ label=_(u"Prescription on large area"))
geoarchaeological_context_prescription = forms.NullBooleanField(
- required=False)
+ required=False, label=_(u"Prescription on geoarchaeological context"))
class SelectedTownForm(forms.Form):
form_label = _("Towns")
diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py
index 0c2f07433..03a01e872 100644
--- a/ishtar/furnitures/models.py
+++ b/ishtar/furnitures/models.py
@@ -382,10 +382,10 @@ class Operation(BaseHistorizedItem, OwnPerms):
fnap_financing = models.FloatField(u"Financement FNAP",
blank=True, null=True)
TABLE_COLS += ["code_patriarche", "code_dracar"]
- zoning_prescription = models.NullBooleanField(_(u"Prescription on zoning"),
- blank=True, null=True)
+ zoning_prescription = models.NullBooleanField(
+ _(u"Prescription on zoning"), blank=True, null=True)
large_area_prescription = models.NullBooleanField(
- _(u"Prescription on large area"), blank=True, null=True)
+ _(u"Prescription on large area"), blank=True, null=True)
geoarchaeological_context_prescription = models.NullBooleanField(
_(u"Prescription on geoarchaeological context"), blank=True, null=True)
comment = models.TextField(_(u"Comment"), null=True, blank=True)