Browse Source

Fixes #1426

pull/1427/head
Edward Ribeiro 7 years ago
parent
commit
6df8bf2801
  1. 2
      sapl/protocoloadm/forms.py
  2. 2
      sapl/protocoloadm/views.py
  3. 4
      sapl/templates/navbar.yaml

2
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),

2
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

4
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

Loading…
Cancel
Save