mirror of https://github.com/interlegis/sigi.git
Eduardo Edson Batista Cordeiro Alves
9 years ago
committed by
Luciano Almeida
6 changed files with 12 additions and 138 deletions
@ -1,38 +0,0 @@ |
|||
{% extends "crud/list.html" %} |
|||
{% load i18n %} |
|||
|
|||
{% block buttons %}{% endblock buttons %} |
|||
|
|||
{% block content %} |
|||
|
|||
{% if not rows %} |
|||
<p>{{ NO_ENTRIES_MSG }}</p> |
|||
{% else %} |
|||
<table class="table table-striped table-hover"> |
|||
<thead> |
|||
<tr> |
|||
{% for name in headers %} |
|||
<th>{{ name }}</th> |
|||
{% endfor %} |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{% for value_list in rows %} |
|||
<tr> |
|||
{% for value, href in value_list %} |
|||
<td> |
|||
{% if href %} |
|||
<a href="../habilitar/{{ value_list|first|last|cut:'/atendimento/usuario/' }}">{{ value }}</a> |
|||
{% else %} |
|||
{{ value|safe }} |
|||
{% endif %} |
|||
</td> |
|||
{% endfor %} |
|||
</tr> |
|||
{% endfor %} |
|||
</tbody> |
|||
</table> |
|||
{% endif %} |
|||
|
|||
{% include "paginacao.html" %} |
|||
{% endblock content %} |
Loading…
Reference in new issue