Browse Source

Divide as pesquisas em duas telas (#482)

+1 👍
pull/483/head
eduardocalil 9 years ago
committed by Edward
parent
commit
cfcf7a8f10
  1. 13
      templates/materia/materialegislativa_filter.html
  2. 11
      templates/protocoloadm/protocolo_filter.html
  3. 1
      templates/protocoloadm/protocoloadm_detail.html

13
templates/materia/materialegislativa_filter.html

@ -3,14 +3,21 @@
{% load crispy_forms_tags %}
{% block actions %}{% endblock %}
{% block sections_nav %} {% endblock %}
{% block sections_nav %}
{% endblock %}
{% block detail_content %}
<h1><b>Pesquisar Matéria</b></h1>
<br></br>
{% if filter_url %}
<div class="actions btn-group pull-right" role="group">
<a href="{% url 'materia:pesquisar_materia' %}" class="btn btn-default">{% trans 'Fazer nova pesquisa' %}</a>
</div>
{% endif %}
{% crispy filter.form %}
{% if not filter_url %}
{% crispy filter.form %}
{% endif %}
<p></p>
{% if filter_url %}

11
templates/protocoloadm/protocolo_filter.html

@ -8,8 +8,17 @@
{% block detail_content %}
<h1><b>Pesquisa de Protocolo</b></h1>
<br></br>
{% if filter_url %}
<div class="actions btn-group pull-right" role="group">
<a href="{% url 'protocoloadm:protocolo' %}" class="btn btn-default">{% trans 'Fazer nova pesquisa' %}</a>
</div>
{% endif %}
{% if not filter_url %}
{% crispy filter.form %}
{% endif %}
{% crispy filter.form %}
{% if filter_url %}
<p></p>
<table class="table table-striped table-bordered">

1
templates/protocoloadm/protocoloadm_detail.html

@ -2,7 +2,6 @@
{% load i18n %}
{% block actions %}
<div class="actions btn-group pull-right" role="group">
<a href="{% url 'protocoloadm:protocolo' %}" class="btn btn-default">{% trans 'Pesquisa Protocolo' %}</a>
<a href="{% url 'protocoloadm:protocolar_doc' %}" class="btn btn-default">{% trans 'Protocolar Documento' %}</a>
<a href="{% url 'protocoloadm:protocolar_mat' %}" class="btn btn-default">{% trans 'Protocolar Matéria' %}</a>
<a href="{% url 'protocoloadm:anular_protocolo' %}" class="btn btn-default">{% trans 'Anular Protocolo' %}</a>

Loading…
Cancel
Save