summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-15 11:54:54 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-15 11:55:40 +0100
commit5dd2be142e031d21108296b601c261665d32fb7e (patch)
treed6461b47674e369a2b2257deaef23bc4e416dc8c /archaeological_context_records/templates
parent5123e2e09d801fa9d428d860a170fc561348a339 (diff)
downloadIshtar-5dd2be142e031d21108296b601c261665d32fb7e.tar.bz2
Ishtar-5dd2be142e031d21108296b601c261665d32fb7e.zip
Sheets: mark explicitly some fields as translated fields (refs #3459)
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 %}