diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 132b43fda..3e1f7b8b7 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -2104,6 +2104,7 @@ class PautaSessaoDetailView(DetailView): materias_ordem.append(mat) context.update({'materias_ordem': materias_ordem}) + context.update({'subnav_template_name': 'sessao/pauta_subnav.yaml'}) return self.render_to_response(context) diff --git a/sapl/templates/sessao/pauta_sessao_detail.html b/sapl/templates/sessao/pauta_sessao_detail.html index 0de9908d6..0356abe88 100644 --- a/sapl/templates/sessao/pauta_sessao_detail.html +++ b/sapl/templates/sessao/pauta_sessao_detail.html @@ -1,9 +1,8 @@ {% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} -{% block actions %}{% endblock %} -{% block detail_content %} +{% block base_content %}
> PDF
Identificação Básica @@ -99,4 +98,4 @@ {% endfor %}
-{% endblock detail_content %} +{% endblock base_content %} diff --git a/sapl/templates/sessao/pauta_subnav.yaml b/sapl/templates/sessao/pauta_subnav.yaml new file mode 100644 index 000000000..17c0ed93d --- /dev/null +++ b/sapl/templates/sessao/pauta_subnav.yaml @@ -0,0 +1,4 @@ +{% load i18n common_tags %} + +- title: {% trans 'Pesquisar Pauta da Sessão' %} + url: pesquisar_pauta