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