summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/widgets/search_input.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/widgets/search_input.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/widgets/search_input.html')
-rw-r--r--ishtar_common/templates/widgets/search_input.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/widgets/search_input.html b/ishtar_common/templates/widgets/search_input.html
index 114fea5a1..7ba147a77 100644
--- a/ishtar_common/templates/widgets/search_input.html
+++ b/ishtar_common/templates/widgets/search_input.html
@@ -1,4 +1,4 @@
-{% load i18n %}<div class="input-group search-widget">
+{% load i18n l10n %}<div class="input-group search-widget">
<input type="{{ widget.type }}" name="{{ widget.name }}"
{% if widget.value != None %} value="{{ widget.value|stringformat:'s' }}"{% endif %}{% include "django/forms/widgets/attrs.html" %} />
<span class="input-group-append">
@@ -52,7 +52,7 @@
</span>
</div>
-<script type="text/javascript">
+<script type="text/javascript">{% localize off %}
var bookmark_url = "{% url 'bookmark-list' app_name pin_model %}";
if (typeof enable_save == "undefined") {
@@ -85,4 +85,4 @@ $(document).ready(function(){
enable_save();
load_bookmark_list();
});
-</script>
+{% endlocalize %}</script>