mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load tz %}
|
|
{% load common_tags %}
|
|
{% block base_content %}
|
|
<fieldset>
|
|
<h1>Lista de usuários</h1>
|
|
{% if not user_list %}
|
|
<p>{{ NO_ENTRIES_MSG }}</p>
|
|
{% else %}
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Nome de Usuário</th>
|
|
<th>E-mail do Usuário</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for user in user_list %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url 'sapl.base:user_edit' user.pk %}">{{ user.username }}</a>
|
|
</td>
|
|
<td>{{ user.email }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
<a class="btn btn-default" href="{% url 'sapl.base:user_create' %}">Criar Usuário</a>
|
|
</fieldset>
|
|
{% include 'paginacao.html'%}
|
|
{% endblock base_content %}
|