summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2016-11-14 19:45:48 +0100
committerValérie-Emma Leroux <emma@iggdrasil.net>2016-11-14 19:45:48 +0100
commit8ac9256b58a681f7507cd21b75f2698a2fc2526c (patch)
tree61c234244cfa76733c4932491ad3d10f0dcf83d4
parentcbf59fbfc5e54958e62a27a01a6fec90dbc26059 (diff)
downloadIshtar-8ac9256b58a681f7507cd21b75f2698a2fc2526c.tar.bz2
Ishtar-8ac9256b58a681f7507cd21b75f2698a2fc2526c.zip
Update labels
-rw-r--r--archaeological_context_records/forms.py2
-rw-r--r--archaeological_context_records/tests.py2
-rw-r--r--archaeological_finds/forms.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index 72cb24097..3b99042ec 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -72,7 +72,7 @@ class RecordSelect(TableSelect):
associated_model=ArchaeologicalSite),
validators=[valid_id(ArchaeologicalSite)])
ope_relation_types = forms.MultipleChoiceField(
- label=_(u"Search within operation relations"), choices=[],
+ label=_(u"Search within related operations"), choices=[],
widget=forms.CheckboxSelectMultiple)
datings__period = forms.ChoiceField(label=_(u"Period"), choices=[])
unit = forms.ChoiceField(label=_(u"Unit type"), choices=[])
diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py
index 9b8d4f000..8ce2fd9d5 100644
--- a/archaeological_context_records/tests.py
+++ b/archaeological_context_records/tests.py
@@ -155,7 +155,7 @@ class ContextRecordTest(ContextRecordInit, TestCase):
{'label': 'cr 1',
'relation_types_0': self.cr_rel_type.pk})
self.assertEqual(json.loads(response.content)['total'], 2)
- # test search between operation relations
+ # test search between related operations
first_ope = self.operations[0]
first_ope.year = 2010
first_ope.save()
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index a34da139e..724576ec6 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -233,7 +233,7 @@ class FindSelect(TableSelect):
associated_model=ArchaeologicalSite),
validators=[valid_id(ArchaeologicalSite)])
ope_relation_types = forms.MultipleChoiceField(
- label=_(u"Search within operation relations"), choices=[],
+ label=_(u"Search within related operations"), choices=[],
widget=forms.CheckboxSelectMultiple)
datings__period = forms.ChoiceField(label=_(u"Period"), choices=[])
# TODO search by warehouse