diff options
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/forms.py | 4 | ||||
-rw-r--r-- | archaeological_operations/models.py | 4 | ||||
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_administrativeact.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index a7d191dd8..0c6e65f83 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -1477,7 +1477,7 @@ class AdministrativeActOpeSelect(DocumentItemSelect): )) year = forms.IntegerField(label=_("Year")) index = forms.IntegerField(label=_("Index")) - ref_sra = forms.CharField(label=_("Other reference"), max_length=200) + ref_sra = forms.CharField(label=_("Internal reference"), max_length=200) operation__code_patriarche = forms.CharField( max_length=500, widget=OAWidget, @@ -1542,7 +1542,7 @@ class AdministrativeActForm(CustomForm, ManageOldType): widget=forms.Textarea, required=False) signature_date = DateField(label=_("Signature date"), required=False) comment = forms.CharField(label=_("Comment"), widget=forms.Textarea, required=False) - ref_sra = forms.CharField(label=_("Other reference"), max_length=200, required=False) + ref_sra = forms.CharField(label=_("Internal reference"), max_length=200, required=False) TYPES = [ FieldType('act_type', models.ActType, diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 294d07847..76e258994 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -2959,7 +2959,7 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter, ), "index": SearchAltName(pgettext_lazy("key for text search", "index"), "index"), "ref_sra": SearchAltName( - pgettext_lazy("key for text search", "other-ref"), "ref_sra__iexact" + pgettext_lazy("key for text search", "internal-reference"), "ref_sra__iexact" ), "operation__code_patriarche": SearchAltName( pgettext_lazy("key for text search", "patriarche"), @@ -3169,7 +3169,7 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter, year = models.IntegerField(_("Year"), blank=True, null=True) act_object = models.TextField(_("Object"), blank=True, default="") ref_sra = models.CharField( - _("Other reference"), max_length=200, blank=True, null=True + _("Internal reference"), max_length=200, blank=True, null=True ) departments_label = models.TextField( _("Departments"), diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html index f344a1fb6..2002594be 100644 --- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html +++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html @@ -41,7 +41,7 @@ <div class="row"> {% field_flex "Year" item.year %} {% field_flex "Index" item.index %} - {% field_flex "Internal reference" item.ref_sra %} + {% field_flex _("Internal reference") item.ref_sra %} {% field_flex "Type" item.act_type %} {% field_flex "Object" item.act_object %} {% field_flex_detail "Signatory" item.signatory %} |