Revision 23bca0c9
Added by Serghei Mihai about 11 years ago
calebasse/views.py | ||
---|---|---|
26 | 26 |
|
27 | 27 |
class Homepage(TemplateView): |
28 | 28 |
template_name='calebasse/homepage.html' |
29 |
cookies_to_clear = [('agenda-worker-tabs', )]
|
|
29 |
cookies_to_clear = [('agenda-tabs', )] |
|
30 | 30 |
|
31 | 31 |
def dispatch(self, request, **kwargs): |
32 | 32 |
if 'service' in kwargs: |
33 |
self.cookies_to_clear = [('agenda-worker-tabs',
|
|
33 |
self.cookies_to_clear = [('agenda-tabs', |
|
34 | 34 |
'/%s/agenda' % kwargs['service']), |
35 | 35 |
('agenda-ressource-tabs', |
36 | 36 |
'/%s/agenda' % kwargs['service']), |
Also available in: Unified diff
agenda: right cookies deleted when leaving the page