mirror of
https://github.com/moepman/bk-dss
synced 2024-12-22 17:24:25 +01:00
Markus Hauschild
46e560cef9
The function list shadowed the built-in type list leading to weird TypeError exceptions in the user creation. While at it list the users cn before the dn to improve readability.
23 lines
515 B
HTML
23 lines
515 B
HTML
{% extends "_base.html" %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1>List users</h1>
|
|
</div>
|
|
<table class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr>
|
|
<td>CN</td>
|
|
<td>DN</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for dn, attr in users %}
|
|
<tr>
|
|
<td>{{ attr['cn'][0] }}</td>
|
|
<td>{{ dn }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|