diff options
| author | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2016-11-14 19:45:48 +0100 | 
|---|---|---|
| committer | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2016-11-14 19:45:48 +0100 | 
| commit | 3ee168dad3aebbd07640420fbdb5136bb909038f (patch) | |
| tree | 61c234244cfa76733c4932491ad3d10f0dcf83d4 | |
| parent | be42a9fd40496aacc4a5ab970c832f2db91d624d (diff) | |
| download | Ishtar-3ee168dad3aebbd07640420fbdb5136bb909038f.tar.bz2 Ishtar-3ee168dad3aebbd07640420fbdb5136bb909038f.zip | |
Update labels
| -rw-r--r-- | archaeological_context_records/forms.py | 2 | ||||
| -rw-r--r-- | archaeological_context_records/tests.py | 2 | ||||
| -rw-r--r-- | archaeological_finds/forms.py | 2 | 
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 | 
