smeagol/resources/templates/edit-users.html
simon 2f897089fe #15: Fix
Rather nice and satisfactory. Slightly conflates the issue of configuration and internationalisation at present, but I think internationalisation is a target to hit as a separate job.
2017-03-12 17:14:43 +00:00

21 lines
685 B
HTML

{% extends "templates/base.html" %}
{% block content %}
<div id="content">
<table>
<tr>
<th>{{config.edit-col-hdr}}</th><th>{{config.del-col-hdr}}</th>
</tr>
{% for user in users %}
<tr>
<td><a href="edit-user?target={{user}}">{{config.edit-col-hdr}} {{user}}</a></td>
<td><a href="delete-user?target={{user}}">{{config.del-col-hdr}} {{user}}</a></td>
</tr>
{% endfor %}
<tr>
<td><a href="edit-user">{{config.add-user-label}}</a></td>
<td></td>
</tr>
</table>
</div>
{% endblock %}