mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-21 21:53:30 +00:00
club/views: fix call to parent's get_context_data in PosterListView
This commit is contained in:
parent
22e277d4f7
commit
a2ee017668
@ -602,7 +602,7 @@ class MailingAutoCleanView(View):
|
||||
return redirect('club:mailing', club_id=self.mailing.club.id)
|
||||
|
||||
|
||||
class PosterListView(PosterListBaseView, CanViewMixin, ClubTabsMixin):
|
||||
class PosterListView(ClubTabsMixin, PosterListBaseView, CanViewMixin):
|
||||
"""List communication posters"""
|
||||
|
||||
def get_object(self):
|
||||
@ -611,9 +611,7 @@ class PosterListView(PosterListBaseView, CanViewMixin, ClubTabsMixin):
|
||||
def get_context_data(self, **kwargs):
|
||||
kwargs = super(PosterListView, self).get_context_data(**kwargs)
|
||||
kwargs['app'] = "club"
|
||||
kwargs['current_tab'] = self.current_tab
|
||||
kwargs['tabs_title'] = self.get_tabs_title()
|
||||
kwargs['list_of_tabs'] = self.get_list_of_tabs()
|
||||
kwargs['club'] = self.club
|
||||
return kwargs
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user