1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 01:18:22 +02:00

Move some buttons, my account form is now working

This commit is contained in:
Yohann D'ANELLO
2020-05-15 02:44:59 +02:00
parent f01537719b
commit 9ba4d88e3d
5 changed files with 12 additions and 11 deletions

View File

@ -217,7 +217,7 @@ class ProfileListView(AdminMixin, SingleTableView):
queryset = TFJMUser.objects.order_by("role", "last_name", "first_name")
table_class = UserTable
template_name = "member/profile_list.html"
extra_context = dict(title=_("All profiles"))
extra_context = dict(title=_("All profiles"), type="all")
class OrphanedProfileListView(AdminMixin, SingleTableView):
@ -229,7 +229,7 @@ class OrphanedProfileListView(AdminMixin, SingleTableView):
.order_by("role", "last_name", "first_name")
table_class = UserTable
template_name = "member/profile_list.html"
extra_context = dict(title=_("Orphaned profiles"))
extra_context = dict(title=_("Orphaned profiles"), type="orphaned")
class OrganizersListView(AdminMixin, SingleTableView):
@ -241,7 +241,7 @@ class OrganizersListView(AdminMixin, SingleTableView):
.order_by("role", "last_name", "first_name")
table_class = UserTable
template_name = "member/profile_list.html"
extra_context = dict(title=_("Organizers"))
extra_context = dict(title=_("Organizers"), type="organizers")
class ResetAdminView(AdminMixin, View):