summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-12 10:52:35 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-13 15:48:10 +0100
commitd2c9fab7e330f3c5db660ee65af8db5c9d41370b (patch)
tree17b034cac8eb87b006f1d84234cf1134a5d1f7eb /archaeological_operations
parent0d2e4f60e8ce2f42359c2feb7360eb0ed72ad82b (diff)
downloadIshtar-d2c9fab7e330f3c5db660ee65af8db5c9d41370b.tar.bz2
Ishtar-d2c9fab7e330f3c5db660ee65af8db5c9d41370b.zip
🐛 administrative act: fix internal reference label (refs #6185)
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/forms.py4
-rw-r--r--archaeological_operations/models.py4
-rw-r--r--archaeological_operations/templates/ishtar/sheet_administrativeact.html2
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 %}