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 /ishtar_common/templates/widgets/image_input.html | |
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 'ishtar_common/templates/widgets/image_input.html')
-rw-r--r-- | ishtar_common/templates/widgets/image_input.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/widgets/image_input.html b/ishtar_common/templates/widgets/image_input.html index 4b1d83c0e..cc2e9811a 100644 --- a/ishtar_common/templates/widgets/image_input.html +++ b/ishtar_common/templates/widgets/image_input.html @@ -1,4 +1,4 @@ -{% load i18n %}<div class="form-row form-control"> +{% load i18n l10n %}<div class="form-row form-control"> {% if widget.value and widget.value.url or hidden_value %} <span class="col-4"> <div id="lightgallery-{{widget.name}}"> @@ -46,7 +46,7 @@ </span> </div> {% if is_initial or widget.value.url %} -<script type="text/javascript"> +<script type="text/javascript">{% localize off %} $(document).ready(function(){ if (mobile_check()){ $(".mobile-capture").show(); @@ -56,5 +56,5 @@ $(document).ready(function(){ lightGallery(document.getElementById('lightgallery-{{widget.name}}')); register_preview_input_image("{{ widget.name }}"); }); -</script> +{% endlocalize %}</script> {% endif %} |