Apply review comments

This commit is contained in:
2025-09-26 14:33:17 +02:00
parent 210278440a
commit bb09fd0feb
2 changed files with 1 additions and 4 deletions

View File

@@ -89,7 +89,7 @@
</span> </span>
{% endif %} {% endif %}
</a> </a>
<div id="header_notif" x-show="display" x-cloak x-transition> <div id="header_notif" x-show="display" x-cloak x-transition @click.outside="display = false">
<ul> <ul>
{% if user.notifications.filter(viewed=False).count() > 0 %} {% if user.notifications.filter(viewed=False).count() > 0 %}
{% for n in user.notifications.filter(viewed=False).order_by('-date') %} {% for n in user.notifications.filter(viewed=False).order_by('-date') %}

View File

@@ -405,9 +405,6 @@ class UserTrombiDeleteMembershipView(
current_tab = "profile" current_tab = "profile"
success_message = _("User removed from trombi") success_message = _("User removed from trombi")
def get_success_url(self):
return super().get_success_url()
# Used by admins when someone does not have every club in his list # Used by admins when someone does not have every club in his list
class UserTrombiAddMembershipView(TrombiTabsMixin, CreateView): class UserTrombiAddMembershipView(TrombiTabsMixin, CreateView):