Browse Source

Fix #839

pull/871/head
Eduardo Edson Batista Cordeiro Alves 8 years ago
parent
commit
96087659cb
  1. 13
      sapl/templates/protocoloadm/documentoadministrativo_filter.html

13
sapl/templates/protocoloadm/documentoadministrativo_filter.html

@ -6,10 +6,11 @@
{% block sections_nav %} {% endblock %}
{% block actions %}
<h1><b>Documentos Administrativos</b></h1>
<div class="actions btn-group pull-right" role="group">
{% if perms|get_add_perm:view %}
<a href="docadm/create" class="btn btn-default">{% trans 'Adicionar Documento Administrativo' %}</a>
{% if perms.protocoloadm %}
<a href="{% url 'sapl.protocoloadm:documentoadministrativo_create' %}" class="btn btn-default">
{% blocktrans with verbose_name=view.verbose_name %} Adicionar Documento Administrativo {% endblocktrans %}
</a>
{% endif %}
</div>
{% if filter_url %}
@ -18,8 +19,10 @@
</div>
{% endif %}
{% endblock actions %}
{% block base_content %}
{% block detail_content %}
{% if not filter_url %} {% crispy filter.form %} {% endif %}
{% if filter_url %}
<table class="table table-striped table-bordered">
<thead class="thead-default"><tr><td><h3>Resultados</h3></td></tr></thead>
@ -45,4 +48,4 @@
</table>
{% include "paginacao.html" %}
{% endif %}
{% endblock base_content %}
{% endblock detail_content %}

Loading…
Cancel
Save