From 43c4740ec84963830aff7965292246de2315f8f8 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Wed, 8 Mar 2017 15:51:26 -0300 Subject: [PATCH] Conserta bug no painel --- sapl/sessao/views.py | 4 ++++ sapl/templates/sessao/painel.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index a20a6bda2..8ff1edb40 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -591,6 +591,10 @@ class PainelView(PermissionRequiredForAppCrudMixin, TemplateView): if request.user.is_anonymous(): self.template_name = 'painel/index.html' + request.session['discurso'] = 'stop' + request.session['aparte'] = 'stop' + request.session['ordem'] = 'stop' + return TemplateView.get(self, request, *args, **kwargs) def get_context_data(self, **kwargs): diff --git a/sapl/templates/sessao/painel.html b/sapl/templates/sessao/painel.html index 24a157b0b..2857bc4bb 100644 --- a/sapl/templates/sessao/painel.html +++ b/sapl/templates/sessao/painel.html @@ -14,7 +14,7 @@
- +