mirror of
https://github.com/ae-utbm/sith.git
synced 2025-10-09 08:14:39 +00:00
use new notifications system
This commit is contained in:
@@ -11,6 +11,10 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
{% block notifications %}
|
||||||
|
{# Notifications are moved inside the billing info fragment #}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
<h2>{% trans %}Club members{% endtrans %}</h2>
|
<h2>{% trans %}Club members{% endtrans %}</h2>
|
||||||
|
|
||||||
{% if add_member_fragment %}
|
{% if add_member_fragment %}
|
||||||
|
@@ -1,17 +1,5 @@
|
|||||||
{% if messages %}
|
|
||||||
<div x-data="{show_alert: true}" class="alert alert-green" x-show="show_alert" x-transition>
|
{% include "core/base/notifications.jinja" %}
|
||||||
<span class="alert-main">
|
|
||||||
{% for message in messages %}
|
|
||||||
{% if message.level_tag == "success" %}
|
|
||||||
{{ message }}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</span>
|
|
||||||
<span class="clickable" @click="show_alert = false">
|
|
||||||
<i class="fa fa-close"></i>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<form
|
<form
|
||||||
hx-post="{{ url('club:club_new_members', club_id=club.id) }}"
|
hx-post="{{ url('club:club_new_members', club_id=club.id) }}"
|
||||||
|
Reference in New Issue
Block a user