root / templates / instance_owners.html @ 064ecc91
History | View | Annotate | Download (709 Bytes)
1 |
{% extends "base.html" %} |
---|---|
2 |
{% load i18n %} |
3 |
{% block title %}{% trans "Instance owners" %}{% endblock %} |
4 |
{% block breadcrumbs %}:: {% trans "Instance owners" %}{% endblock %} |
5 |
{% block content %} |
6 |
{% regroup instances by users as user_instances %} |
7 |
|
8 |
{% for user_list in user_instances %} |
9 |
<p>
|
10 |
{% for i in user_list.list %} |
11 |
<em><a href="{% url instance-detail i.cluster.slug i.name %}">{{ i.name }}</a></em><br /> |
12 |
{% endfor %} |
13 |
</p>
|
14 |
|
15 |
<table>
|
16 |
<tr><th>{% trans "Username" %}</th><th>{% trans "Name" %}</th><th>{% trans "E-mail" %}</th></tr> |
17 |
{% for u in user_list.grouper %} |
18 |
<tr><td>{{ u.username }}</td><td>{{ u.get_full_name }}</td><td>{{ u.email }}</td></tr> |
19 |
{% endfor %} |
20 |
</table>
|
21 |
<hr /> |
22 |
|
23 |
{% endfor %} |
24 |
{% endblock %} |