1 {% extends
"user/profile.html" %}
4 {% with user.ssh_keys.all as keyslist %}
6 {% include
"ganeti/ssh_keys/list.html" %}
9 {% load object_permission_tags %}
18 {% for group in groups %}
19 <tr id=
"user_{{group.id}}">
21 {% if
"admin" in user_detail|permissions:group or user_detail.is_superuser%}
22 <a href=
"{% url group-detail group.id %}">{{group.name}}
</a>
27 <td class=
"permissions">
28 {% if
"admin" in user_detail|permissions:group or user_detail.is_superuser%}
29 <a href=
"{% url group-permissions group.id %}/user/{{user_detail.id}}" class=
"permissions" title=
"click to edit">
30 {% for permission in user_detail|permissions:group %}
31 {{permission}}{% if not forloop.last%}, {% endif %}
33 <span class=
"none">None
</span>
37 {% for permission in user_detail|permissions:group %}
38 {{permission}}{% if not forloop.last%}, {% endif %}
40 <span class=
"none">None
</span>
50 {{permissions_template|safe}}