Browse Source

Divide as pesquisas em duas telas (#482)

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

11
templates/materia/materialegislativa_filter.html

@ -3,14 +3,21 @@
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
{% block actions %}{% endblock %} {% block actions %}{% endblock %}
{% block sections_nav %} {% endblock %} {% block sections_nav %}
{% endblock %}
{% block detail_content %} {% block detail_content %}
<h1><b>Pesquisar Matéria</b></h1> <h1><b>Pesquisar Matéria</b></h1>
<br></br> <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 %}
{% if not filter_url %}
{% crispy filter.form %} {% crispy filter.form %}
{% endif %}
<p></p> <p></p>
{% if filter_url %} {% if filter_url %}

9
templates/protocoloadm/protocolo_filter.html

@ -8,8 +8,17 @@
{% block detail_content %} {% block detail_content %}
<h1><b>Pesquisa de Protocolo</b></h1> <h1><b>Pesquisa de Protocolo</b></h1>
<br></br> <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 %} {% crispy filter.form %}
{% endif %}
{% if filter_url %} {% if filter_url %}
<p></p> <p></p>
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">

1
templates/protocoloadm/protocoloadm_detail.html

@ -2,7 +2,6 @@
{% load i18n %} {% load i18n %}
{% block actions %} {% block actions %}
<div class="actions btn-group pull-right" role="group"> <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_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: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> <a href="{% url 'protocoloadm:anular_protocolo' %}" class="btn btn-default">{% trans 'Anular Protocolo' %}</a>

Loading…
Cancel
Save