From 6df8bf28019df75cd6cf032133ecc466c239f989 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 24 Aug 2017 14:07:50 -0300 Subject: [PATCH] Fixes #1426 --- sapl/protocoloadm/forms.py | 2 +- sapl/protocoloadm/views.py | 2 +- sapl/templates/navbar.yaml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sapl/protocoloadm/forms.py b/sapl/protocoloadm/forms.py index fc2b99dc8..f07ff1263 100644 --- a/sapl/protocoloadm/forms.py +++ b/sapl/protocoloadm/forms.py @@ -116,7 +116,7 @@ class ProtocoloFilterSet(django_filters.FilterSet): self.form.helper = FormHelper() self.form.helper.form_method = 'GET' self.form.helper.layout = Layout( - Fieldset('', + Fieldset(_('Pesquisar Protocolo'), row1, row2, row3, HTML(autor_label), diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index 4804849b9..976f259f9 100644 --- a/sapl/protocoloadm/views.py +++ b/sapl/protocoloadm/views.py @@ -177,7 +177,7 @@ class ProtocoloPesquisaView(PermissionRequiredMixin, FilterView): context['page_range'] = make_pagination( page_obj.number, paginator.num_pages) - context['title'] = _('Pesquisa de Protocolos') + context['title'] = _('Protocolo') return context diff --git a/sapl/templates/navbar.yaml b/sapl/templates/navbar.yaml index 38ac52ea8..3d4cffa64 100644 --- a/sapl/templates/navbar.yaml +++ b/sapl/templates/navbar.yaml @@ -17,6 +17,10 @@ children: - title: {% trans 'Protocolo Geral' %} url: sapl.protocoloadm:protocolo + - title: {% trans 'Protocolo de Matéria' %} + url: sapl.protocoloadm:protocolar_mat + - title: {% trans 'Protocolo de Documento' %} + url: sapl.protocoloadm:protocolar_doc - title: {% trans 'Receber Proposições' %} url: sapl.materia:receber-proposicao