From fcfe7260522df76c177f54ba7067877bd312fc0f Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Tue, 11 Oct 2016 08:48:06 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20titulo=20duplicado=20na=20pesquisa=20d?= =?UTF-8?q?e=20pauta=20da=20sess=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 6 ++++++ sapl/templates/sessao/pauta_sessao_filter.html | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index e987f955e..c4a9da917 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -2115,6 +2115,12 @@ class PesquisarPautaSessaoView(PesquisarSessaoPlenariaView): filterset_class = PautaSessaoFilterSet template_name = 'sessao/pauta_sessao_filter.html' + def get_context_data(self, **kwargs): + context = super(PesquisarPautaSessaoView, + self).get_context_data(**kwargs) + context['title'] = _('Pesquisar Pauta de Sessão') + return context + def filtra_tramitacao_ordem_dia(): lista = pega_ultima_tramitacao() diff --git a/sapl/templates/sessao/pauta_sessao_filter.html b/sapl/templates/sessao/pauta_sessao_filter.html index 6c95cea33..7a046b1c0 100644 --- a/sapl/templates/sessao/pauta_sessao_filter.html +++ b/sapl/templates/sessao/pauta_sessao_filter.html @@ -6,9 +6,6 @@ {% block sections_nav %} {% endblock %} {% block base_content %} -

Pesquisar Pauta de Sessão

-

- {% if not filter_url %} {% crispy filter.form %} {% endif %}