diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-07 20:14:54 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-08 10:17:35 +0200 |
commit | f6e87ee949148debc0c4c911153c828686e15123 (patch) | |
tree | 6adf2a7f32bc6311afdf5414d4a5905c66e587a3 /archaeological_operations | |
parent | 2eccf625a9a4e06e3236ece50728536bbe0cd75e (diff) | |
download | Ishtar-f6e87ee949148debc0c4c911153c828686e15123.tar.bz2 Ishtar-f6e87ee949148debc0c4c911153c828686e15123.zip |
🐛 many fix (or potential fix) in templates (inappropriate l10n) (refs #5594)
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 7fbff7202..6fbc2e404 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -1,5 +1,5 @@ {% extends "ishtar/sheet.html" %} -{% load i18n ishtar_helpers window_tables window_header window_ope_tables window_field from_dict %} +{% load i18n l10n ishtar_helpers window_tables window_header window_ope_tables window_field from_dict %} {% block head_title %}<strong>{% trans "Operation" %}</strong> - {{item.short_label}}{% if item.common_name %} - {{item.common_name}}{% endif %}{% endblock %} @@ -378,7 +378,7 @@ <h4>{{rel.relation_type}}</h4> <div class="row">{% endifchanged %} <div class="col-12"> - <a href="#" onclick="load_window('/show-operation/{{rel.right_record.pk}}/');" class="display_details"> + <a href="#" onclick="load_window('/show-operation/{{rel.right_record.pk|unlocalize}}/');" class="display_details"> <i class="fa fa-info-circle" aria-hidden="true"></i> </a> {{rel.right_record}} </div> @@ -590,7 +590,7 @@ </div> -<script type="text/javascript"> +<script type="text/javascript">{% localize off %} $(document).ready( function () { datatable_options = { "dom": 'ltip', @@ -605,7 +605,7 @@ $(document).ready( function () { } }); } ); -</script> +{% endlocalize %}</script> {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} |