i !== index)">
diff --git a/core/templates/core/macros.jinja b/core/templates/core/macros.jinja
index 9bfe3ad0..303c670e 100644
--- a/core/templates/core/macros.jinja
+++ b/core/templates/core/macros.jinja
@@ -226,7 +226,7 @@
{% endmacro %}
-{% macro update_notifications(messages, clear) %}
+{% macro update_notifications(messages, clear = True) %}
{# Update notification area from new messages sent by django backend
This is useful when performing fragment swaps to keep messages up to date
Without this, the fragment would need to take control of the notification area and
@@ -236,16 +236,19 @@
messages: messages from django.contrib
clear : optional boolean that controls if notifications should be cleared first. True is the default
#}
- {% set clear = clear|default(true) %}
{% if messages %}
-
+
{% endif %}
{% endmacro %}
diff --git a/core/views/mixins.py b/core/views/mixins.py
index bdfb2908..7ba92535 100644
--- a/core/views/mixins.py
+++ b/core/views/mixins.py
@@ -54,7 +54,7 @@ class FragmentRenderer(Protocol):
) -> SafeString: ...
-class FragmentMixin(TemplateResponseMixin, ContextMixin):
+class FragmentMixin(TemplateResponseMixin, AllowFragment, ContextMixin):
"""Make a view buildable as a fragment that can be embedded in a template.
Most fragments are used in two different ways :
diff --git a/docs/howto/statics.md b/docs/howto/statics.md
index 8392ef0f..230f04af 100644
--- a/docs/howto/statics.md
+++ b/docs/howto/statics.md
@@ -35,8 +35,8 @@ les fichiers sont à mettre dans un dossier `static/bundled` de l'application à
Pour accéder au fichier, il faut utiliser `static` comme pour le reste mais en ajouter `bundled/` comme prefix.
```jinja
- {# Example pour ajouter sith/core/bundled/alpine-index.js #}
-
+ {# Example pour ajouter sith/core/bundled/alpine-index.ts #}
+
```
diff --git a/eboutic/templates/eboutic/eboutic_billing_info.jinja b/eboutic/templates/eboutic/eboutic_billing_info.jinja
index 4084ee47..57ea97ed 100644
--- a/eboutic/templates/eboutic/eboutic_billing_info.jinja
+++ b/eboutic/templates/eboutic/eboutic_billing_info.jinja
@@ -32,5 +32,7 @@
diff --git a/staticfiles/processors.py b/staticfiles/processors.py
index bc1ceeb1..e118fbea 100644
--- a/staticfiles/processors.py
+++ b/staticfiles/processors.py
@@ -32,7 +32,7 @@ class JsBundlerManifestEntry:
# because that's what the user types when importing statics and that's what django gives us
# This is really similar to what we are doing in the bundler, it uses a similar algorithm
# Example:
- # core/static/bundled/alpine-index.js -> bundled/alpine-index.js
+ # core/static/bundled/alpine-index.ts -> bundled/alpine-index.ts
# core/static/bundled/components/include-index.ts -> core/static/bundled/components/include-index.ts
def get_relative_src_name(name: str) -> str:
original_path = Path(name)