summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/window.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/window.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/window.html')
-rw-r--r--ishtar_common/templates/window.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/window.html b/ishtar_common/templates/window.html
index dc94b4aae..993df68cc 100644
--- a/ishtar_common/templates/window.html
+++ b/ishtar_common/templates/window.html
@@ -1,4 +1,4 @@
-{% load i18n %}
+{% load i18n l10n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -45,14 +45,14 @@
</form>
</div>
-<script type='text/javascript' language='javascript'>
+<script type="text/javascript">{% localize off %}
{% if new_item_label %}
save_and_close_window{% if many %}_many{% endif %}("{{parent_name}}", "{{parent_pk}}", "{{new_item_label|safe}}", "{{new_item_pk}}");
{% endif %}
$("#cancel-btn").click(function(){
close();
});
-</script>
+{% endlocalize %}</script>
</body>
</html>