mirror of
https://github.com/ae-utbm/sith.git
synced 2025-10-09 08:14:39 +00:00
Apply review comments
This commit is contained in:
@@ -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') %}
|
||||||
|
@@ -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):
|
||||||
|
Reference in New Issue
Block a user