mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +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)
|
return redirect('club:mailing', club_id=self.mailing.club.id)
|
||||||
|
|
||||||
|
|
||||||
class PosterListView(PosterListBaseView, CanViewMixin, ClubTabsMixin):
|
class PosterListView(ClubTabsMixin, PosterListBaseView, CanViewMixin):
|
||||||
"""List communication posters"""
|
"""List communication posters"""
|
||||||
|
|
||||||
def get_object(self):
|
def get_object(self):
|
||||||
@ -611,9 +611,7 @@ class PosterListView(PosterListBaseView, CanViewMixin, ClubTabsMixin):
|
|||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
kwargs = super(PosterListView, self).get_context_data(**kwargs)
|
kwargs = super(PosterListView, self).get_context_data(**kwargs)
|
||||||
kwargs['app'] = "club"
|
kwargs['app'] = "club"
|
||||||
kwargs['current_tab'] = self.current_tab
|
kwargs['club'] = self.club
|
||||||
kwargs['tabs_title'] = self.get_tabs_title()
|
|
||||||
kwargs['list_of_tabs'] = self.get_list_of_tabs()
|
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user