summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html3
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecordsource.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index 3f19289e0..8398a0523 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -73,7 +73,8 @@
{% endif %}
<ul class='form-flex'>
{% field_li "Year" item.operation.year %}
-{% field_li "Numerical reference" item.operation.operation_code %}
+ {% trans "Numerical reference" as num_ref_label %}
+ {% field_li num_ref_label item.operation.operation_code %}
{% field_li "Patriarche OA code" item.operation.code_patriarche %}
{% field_li_detail "Head scientist" item.operation.scientist %}
<li><label>{%trans "State:"%}</label><span class='value'>{% if item.operation.is_active %}{% trans "Active file" %}{% else %}{%trans "Closed operation" %}{% endif %}</span></li>
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecordsource.html b/archaeological_context_records/templates/ishtar/sheet_contextrecordsource.html
index 253d5f047..bd6cdcdba 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecordsource.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecordsource.html
@@ -8,5 +8,6 @@
{% endblock %}
{% block related %}
-{% field "Related context record" item.owner '' item.owner|link_to_window %}
+{% trans "Related context record" as related_item_label %}
+{% field related_item_label item.owner '' item.owner|link_to_window %}
{% endblock %}