diff --git a/club/templates/club/club_list.jinja b/club/templates/club/club_list.jinja
index e9e2cbd4..d370a189 100644
--- a/club/templates/club/club_list.jinja
+++ b/club/templates/club/club_list.jinja
@@ -15,9 +15,6 @@
{% endblock %}
{% else %}
{% extends "core/base.jinja" %}
- {% block additional_css %}
-
- {% endblock %}
{% block description -%}
{% trans %}The list of all clubs existing at UTBM.{% endtrans %}
{%- endblock %}
@@ -26,6 +23,12 @@
{%- endblock %}
{% endif %}
+{% block additional_css %}
+ {% if not is_fragment %}
+
+ {% endif %}
+{% endblock %}
+
{% from "core/macros.jinja" import paginate_htmx %}
{% block content %}
@@ -33,15 +36,17 @@
{% trans %}Filters{% endtrans %}
diff --git a/core/static/bundled/base-bundle-index.ts b/core/static/bundled/base-bundle-index.ts
index 26693455..53e3cc94 100644
--- a/core/static/bundled/base-bundle-index.ts
+++ b/core/static/bundled/base-bundle-index.ts
@@ -69,6 +69,7 @@ htmx.registerExtension("aria-busy", {
},
});
+htmx.config.transitions = true;
Object.assign(window, { htmx });
/**
diff --git a/core/templates/core/file_delete_confirm.jinja b/core/templates/core/file_delete_confirm.jinja
index 155ac62a..d4cecbc2 100644
--- a/core/templates/core/file_delete_confirm.jinja
+++ b/core/templates/core/file_delete_confirm.jinja
@@ -31,7 +31,7 @@
{% if is_fragment %}
hx-post="{{ action }}"
hx-target="#content"
- hx-swap="outerHtml"
+ hx-swap="innerHTML"
{% endif %}
>{% trans %}Confirm{% endtrans %}
@@ -39,7 +39,7 @@
{% if is_fragment %}
hx-get="{{ previous }}"
hx-target="#content"
- hx-swap="outerHtml"
+ hx-swap="innerHTML"
{% else %}
action="window.history.back()"
{% endif %}
diff --git a/core/templates/core/file_moderation.jinja b/core/templates/core/file_moderation.jinja
index fb69ede1..431e5116 100644
--- a/core/templates/core/file_moderation.jinja
+++ b/core/templates/core/file_moderation.jinja
@@ -39,13 +39,13 @@
-
{% set current_page = url('core:file_moderation') + "?page=" + page_obj.number | string %}
{% endfor %}