From 8181e0c3e1544a3fd1b273b0c91ba7a8ab2e9470 Mon Sep 17 00:00:00 2001 From: LeandroRoberto Date: Wed, 28 Sep 2016 09:46:47 -0300 Subject: [PATCH] =?UTF-8?q?Retira=20menu=20descontextualizado=20de=20Propo?= =?UTF-8?q?si=C3=A7=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/materia/views.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sapl/materia/views.py b/sapl/materia/views.py index bd58c940b..eae96b2f2 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -525,6 +525,11 @@ class ProposicaoCrud(Crud): id=self.kwargs['pk'], autor__user_id=self.request.user.id).exists()) + def get_context_data(self, **kwargs): + context = CrudDetailView.get_context_data(self, **kwargs) + context['subnav_template_name'] = '' + return context + class ListView(PermissionRequiredMixin, CrudListView): ordering = ['-data_envio', 'descricao'] permission_required = permissoes_autor()