diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 4dce042f4..11acdb0f7 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -2051,6 +2051,7 @@ class PesquisarSessaoPlenariaView(FilterView): context = super(PesquisarSessaoPlenariaView, self).get_context_data(**kwargs) + context['title'] = _('Pesquisar Sessão Plenária') paginator = context['paginator'] page_obj = context['page_obj'] diff --git a/sapl/templates/sessao/sessaoplenaria_filter.html b/sapl/templates/sessao/sessaoplenaria_filter.html index 2b3edb2e4..5069735c7 100644 --- a/sapl/templates/sessao/sessaoplenaria_filter.html +++ b/sapl/templates/sessao/sessaoplenaria_filter.html @@ -1,30 +1,24 @@ {% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} -{% load common_tags %} {% block actions %}
- {% if perms|get_add_perm:view %} + {% if perms.sessao %} {% blocktrans with verbose_name=view.verbose_name %} Adicionar Sessão Plenária {% endblocktrans %} {% endif %} - {% if filter_url %} - {% trans 'Fazer nova pesquisa' %} - {% endif %} + {% if filter_url %} + {% trans 'Fazer nova pesquisa' %} + {% endif %}
{% endblock %} -{% block sections_nav %} {% endblock %} - -{% block base_content %} -

Pesquisar Sessão Plenária

-

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

@@ -54,4 +48,6 @@ {% include "paginacao.html" %} {% endif %} -{% endblock base_content %} +{% endblock detail_content %} +{% block table_content %} +{% endblock table_content %} \ No newline at end of file