mirror of
https://github.com/ae-utbm/sith.git
synced 2025-10-09 00:04:41 +00:00
use new notifications system
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% block notifications %}
|
||||
{# Notifications are moved inside the billing info fragment #}
|
||||
{% endblock %}
|
||||
|
||||
<h2>{% trans %}Club members{% endtrans %}</h2>
|
||||
|
||||
{% 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>
|
||||
<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 %}
|
||||
|
||||
{% include "core/base/notifications.jinja" %}
|
||||
|
||||
<form
|
||||
hx-post="{{ url('club:club_new_members', club_id=club.id) }}"
|
||||
|
Reference in New Issue
Block a user