summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/wizard/search.html
diff options
context:
space:
mode:
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
commitf6e87ee949148debc0c4c911153c828686e15123 (patch)
tree6adf2a7f32bc6311afdf5414d4a5905c66e587a3 /ishtar_common/templates/ishtar/wizard/search.html
parent2eccf625a9a4e06e3236ece50728536bbe0cd75e (diff)
downloadIshtar-f6e87ee949148debc0c4c911153c828686e15123.tar.bz2
Ishtar-f6e87ee949148debc0c4c911153c828686e15123.zip
🐛 many fix (or potential fix) in templates (inappropriate l10n) (refs #5594)
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/search.html')
-rw-r--r--ishtar_common/templates/ishtar/wizard/search.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/search.html b/ishtar_common/templates/ishtar/wizard/search.html
index 2e7e9bb08..9047c47fc 100644
--- a/ishtar_common/templates/ishtar/wizard/search.html
+++ b/ishtar_common/templates/ishtar/wizard/search.html
@@ -1,12 +1,12 @@
{% extends "base.html" %}
-{% load i18n range %}
+{% load i18n l10n range %}
{% block extra_head %}
{{wizard.form.media}}
{% endblock %}
{% block content %}
<h3>{{wizard_label}}</h3>
{% if default_search_vector or open_url %}
-<script type="text/javascript">
+<script type="text/javascript">{% localize off %}
{% if default_search_vector %}
var default_search_vector = "{{default_search_vector|safe}}".replace(/''/g, '"');{% endif %}
$(document).ready(function() {
@@ -14,7 +14,7 @@
$("#id_search_vector").val(default_search_vector.replace(/''/g, '"'));{% endif %}
{% if open_url %}load_window("{{open_url}}");{% endif %}
});
-</script>
+{% endlocalize %}</script>
{% endif %}
{% comment %}